Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: New issue is always created on current project, ignoring project selector #3543

Closed
1 task done
Plorenzo opened this issue Feb 1, 2024 · 2 comments · Fixed by #3549
Closed
1 task done

[bug]: New issue is always created on current project, ignoring project selector #3543

Plorenzo opened this issue Feb 1, 2024 · 2 comments · Fixed by #3549
Assignees
Labels
🐛bug Something isn't working

Comments

@Plorenzo
Copy link

Plorenzo commented Feb 1, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When I hit cmd+c to create a issue, the modal comes up then I change the project from the project selector then I create a issue, but the issue never change project and is always created on the project which you are viewing.

Screenshot 2024-02-01 at 23 24 49

the api call is incorrect
api/workspaces/someProkect/projects/7582cfb7-5ee9-44b6-99ed-0813c20f7a0c/issues/ that the endpoint and this the payload

{
    "id": "c95975bf-107d-417a-8675-1c166d72f010",
    "name": "test 12",
    "state_id": "677242e3-e7bc-4427-bdfe-059f15069c43",
    "description_html": "",
    "sort_order": 585535,
    "completed_at": null,
    "estimate_point": null,
    "priority": "none",
    "start_date": null,
    "target_date": null,
    "sequence_id": 77,
    "project_id": "7582cfb7-5ee9-44b6-99ed-0813c20f7a0c",
    "parent_id": null,
    "cycle_id": null,
    "module_ids": [],
    "label_ids": [],
    "assignee_ids": [],
    "sub_issues_count": 0,
    "created_at": "2024-02-01T16:22:45.160016+01:00",
    "updated_at": "2024-02-01T16:22:45.160038+01:00",
    "created_by": "65994891-2300-42f6-bc98-93c72e78e6d4",
    "updated_by": "65994891-2300-42f6-bc98-93c72e78e6d4",
    "attachment_count": 0,
    "link_count": 0,
    "is_draft": false,
    "archived_at": null
}

looks like the project_id is incorrect and using the undelraying project instead of the project in the selector

Steps to reproduce

Untitled.mov

Browser

Safari

Version

Self-hosted

@Plorenzo
Copy link
Author

@anmolsinghbhatia @srinivaspendem this is working as expected now, not sure if you want to keep this open for some reason or expect reporters to close it

@pushya22
Copy link
Collaborator

Thanks @Plorenzo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants