Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create issues for everyone in a project

angela August 16, 2023

How to get a list of all members in a project and then create issue for each of them?

3 answers

1 vote
Avinash Bhagawati {Appfire}
Community Champion
August 16, 2023

Hi @angela ,

With the help of Jira Command Line Interface (  ( https://marketplace.atlassian.com/apps/6398/jira-command-line-interface-cli?hosting=cloud&tab=overview), you will be able to achieve the above requirement.

1. Using the ACLI action below, you will be able to list all the project members for a specific project.

--action getProjectRoleActorList --project AT --role @all --columns 1,2,6

userslist.png


2. you can also use the below acli action to write the above data into the CSV file.

--action getProjectRoleActorList --project AT --role @all --columns 1,2,6 --file userslist.csv

3. By using CSV, you can create bulk issues using acli. Please refer below article for more details.

https://appfire.atlassian.net/wiki/spaces/SUPPORT/pages/89144847/How+to+create+issues+in+bulk+from+a+CSV+file+using+Jira+Command+Line+Interface+CLI



Thanks,
Avinash

0 votes
Jose Juan Lendinez Fran
Contributor
August 16, 2023

Hello @angela 😁,

 

The most accurate way to find the users of a project is to search for the roles within the project and go one by one by making a call to the api. Example: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-roles/#api-rest-api-3-project-projectidorkey-role-get 

 

Inside this call you will see all the links to get the users by role. From there you can go through the array of the response and in the creation of the issue add the following object in the JSON:

reporter.png

I hope you found it useful. 

Greetings.

0 votes
Jose Juan Lendinez Fran
Contributor
August 16, 2023

Hello @angela 😁,

 

The most accurate way to find the users of a project is to search for the roles within the project and go one by one by making a call to the api. Example: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-project-roles/#api-rest-api-3-project-projectidorkey-role-get 

 

Inside this call you will see all the links to get the users by role. From there you can go through the array of the response and in the creation of the issue add the following object in the JSON:

reporter.png

I hope you found it useful. 

Greetings, Jose Juan

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events