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: 

Hi team Creating issue from one JIRA to anther using Script runner

Rajesh_Ramankutty
Community Champion
February 15, 2022

Dear Team,

 

I need to create Issue from one jira to another using script runner automatically can anyone done this befor and can suggest me how to do it.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Sachin Dhamale
Community Champion
February 15, 2022

@Rajesh_Ramankutty ,

You can use the Custom Script Listener where you can write groovy script for create issue using REST API.

REST API More Details 

http://localhost:8080/rest/api/2/issue/createmeta

http://localhost:8080/rest/api/2/issue/createmeta?projectKeys=JRA&issuetypeNames=Bug&expand=projects.issuetypes.fields

 

Custom Listner.png

Accept the Answer if it helps.

Rajesh_Ramankutty
Community Champion
February 16, 2022

Hi Thank you let me try