Skip to content

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

@Plorenzo

Description

@Plorenzo

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

Metadata

Metadata

Labels

🐛bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions