How to create sub tasks automatically in Jira

Hi,

We want to create sub tasks automatically after someone change issue status to Resolved. We have Jira 5.2.2. I was told by Atlassian support that is not supported as part of Jira features. How can we achieve it?

Thank you!

Nital Patel

3 answers

1 vote
Henning Tietgens Community Champion Mar 05, 2014

You could use one of the builtin postfunction scripts from Script Runner to create a subtask with the Resolve transition.

You could use the REST API to do this. This would be somewhat difficult to build the logic for it, but you could easily automatically create issues with the API when tickets enter a resolved status.

Thanks Luther for quick reply! I never use REST API in Jira before. If you can give me little more information about it which API to use and how to use, it would be very helpful. Sorry for dragging you in :-). Thanks again!

Create on Transition Plugin for JIRA provides post functions for creating subtasks or issues. Attach the post function to the resolve issue transition in your workflow configuration.

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

Mission-critical battery manufacturer fulfills FAA software requirements with Commit Policy Plugin

EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...

150 views 0 2
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