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
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

1,260 views 17 10
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