The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to automate the the creation of various project, issues and users

sanchay.gupta
December 17, 2019

Need to create multiple projects with issues, users for integration testing of the jira environment

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Mohamed Benziane
Community Champion
December 17, 2019

Hi,

 

Welcome to the community.

 

You can use the rest API to create some custom code to create various project and issues.

 

https://docs.atlassian.com/software/jira/docs/api/REST/8.6.0/#api/2/project-createProject

 

Hope this helps

sanchay.gupta
December 17, 2019

Are there any third-party apps that can automate the rest calling for me based on some configuration file I give. Cause I want to rapidly test it with different sizes of project issues, user, permission, etc.

Mohamed Benziane
Community Champion
December 17, 2019

I'm not sure, but you can try scriptrunner.

Leonard Chew
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
December 17, 2019

Scriptrunner


Out of the box you can copy an existing project (including issues & boards) with scriptrunner.

copy-project.png

If you want to set up customized test-projects and issues however, you will need to script it yourself. 

That might take a bit, depending on what your needs are and how fast you get along with scirpting.

0 votes
sanchay.gupta
December 17, 2019

Are there any third-party apps that can automate the rest calling for me based on some configuration file I give. Cause I want to rapidly test it with different sizes of project issues, user, permission, etc.