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?

Thanks

Naama

2 answers

1 accepted

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

309 views 4 9
Read article

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