Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,749
Community Members
 
Community Events
168
Community Groups

Automation - Clone subtasks to trigger issue via manual trigger

I have a project with a pretty complex workflow. The project admin would like to use subtasks to track the many steps for a given task. This results in upwards of 30 subtasks per task.

My goal is to provide a manual trigger for the user that will generate the standard subtasks on the particular issue that is selected. I've gotten close but not quite where I want to be.

I created a template issue (PM-716) whose entire purpose is to house the sample subtasks. I can look up the sub-tasks then create a new issue for each and specify which fields to populate, but ideally, I would like to clone the issues and ALL fields. My current solution works for now, but any help would be appreciated.

 

clone subtasks.png

2 answers

2 votes

Hi @Brock Jolet 

You could try using clone issue on each subtask, and then call the REST API to change the parent, as described in the work-around for this suggestion: https://jira.atlassian.com/browse/JSWCLOUD-22718

Please note that with the number of subtasks you have described, to support your workflow, this will be a very slow rule and could lead to other problems/unintended consequences.

Kind regards,
Bill

Thanks, Bill! I'll try this out to see if it works for my situation.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events