Forums

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

Open another JIRA issue (in other project) on Close event.

Darya_Koyfman
Contributor
July 18, 2019

I need on Close event ask the user if he/she wants to create another issue in other project than the current one. So, if it's Yes, then the current issue gets closed, and the new one opens in other project and links to the closed one.

Thanks!

1 answer

0 votes
Ismael Jimoh
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 Leaders.
July 18, 2019

Hi @Darya_Koyfman 

The above is not possible out of the box but should be achievable with add-ons like Scriptrunner or Power Scripts.

Add a post-function and in this post-function add a condition that when met creates an issue in another project.

  • Note you would be constrained in that you cannot select the project to create the issue to unless you do some more clever scripting.

Find a similar topic here and hope it helps.

Hope this can help get you started.

Darya_Koyfman
Contributor
July 18, 2019

1. I use post function Create A Linked Issue (JSU) (AddOn - JSU Automation Suite for Jira Workflows). When I press Close, I get error message: "id should not be null!".  I have no idea how to fix it.

2. The similar topic didn't really  help since it's about cloning the issue, and there is              scripting involved (Scriptrunner) which I really want to avoid.

 

Thanks,

Darya.

Jack Brickey
Community Champion
July 18, 2019

I don't use JSU but expect that some required field at creation in the destination project (where linked issue is being created) is not being fulfilled. I suggest checking this by simply manually creating an issue in the project and understand the required fields and see if it yields a clue. Just a theory at this point.

Suggest an answer

Log in or Sign up to answer