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

This widget could not be displayed.
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.

This widget could not be displayed.

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!

This widget could not be displayed.

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 yesterday in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

60 views 2 3
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