Skip to content

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

Closed

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

Activity

  1. added
    🐛bug
    on Feb 1, 2024
  2. Plorenzo commented on Feb 14, 2024

    @Plorenzo
    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

  3. pushya22 commented on Feb 22, 2024

    @pushya22
    Contributor

    Thanks @Plorenzo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

🐛bug

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions