Can I Create an Issue as part of a workflow of another issue?

Hello Experts, 

Can you please let me know if it is possible 

That a status in one issue type workflow will trigger creation of another issue type?



2 answers

1 accepted

Accepted Answer
0 votes

Yes, you can add a post function to do that.

Take a look at Script Runner if you do not already have that installed as a plugin. There are examples in there that will allow you to create sub-tasks, etc

Hi Steve, Thanks for that! Do you have example how to create a new issue that takes it's data from the another issue? Thanks Naama

If you are going down the script runner route, when you add the post function to create a sub task you will have a variety of options to add detail from the parent. The Summary is one of the main option, but under additional actions you can set custom fields from those of the parent. So basically, edit your workflow, in the transition where you need a sub task, add a post function and select script postfunction, then select the create subtask option.

Create Issue post function from Create on Transition for JIRA. Use How to condition the creation of issues to condition the create on the status of the issue being transitioned.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

22,055 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you