Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JSWCLOUD-17392 Team-managed software projects
  3. JSWCLOUD-18555

Ability to Change the Project Lead of next-gen project

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Duplicate
    • None
    • None
    • next-gen
    • None

      Summary

      Presently, it is not possible to simply change the project lead of a next-gen project via the user interface.

      Expected

      Please provide a feature via the UI, the same way as  the Classic project, where users can simply change the Project lead to another user or simply turn the assignment of issues created to unassigned.

      Background

      Usually, when a next-gen project is created, there's a field called "assigneeType" during creation, this is auto set to "UNASSIGNED". However in some situation, this value can be set to "PROJECT_LEAD". which might cause unwanted assignment to a Project_Lead.

      Workaround

      Using cURL, you can be able to change the Project Lead of a next-gen Project. Please generate an API token here

      curl --request PUT \
        --url 'https://<your-instance>.atlassian.net/rest/api/3/project/{projectId}' \
        --user 'email@address.com:API-TOKEN' \
        --header 'Accept: application/json' \
        --header 'Content-Type: application/json' \
        --data '{
         "leadAccountId": "5d3b06xxxxxxxxx",
        "projectTypeKey": "software",
        "key": "ABC"
      }'
      

      You will have to run this via a Terminal, enter the details of the new users by using the accountId, this can be gotten from https://<your-instance>.atlassian.net/people then search for the user to know the accountId which is in an alphanumeric String. Secondly insert the correct project id and project key on the Script prior to running it.
       

              Unassigned Unassigned
              hnyeche Prince N
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: