I have a custom field in which multiple labels can be added.
I want to have a subtask created for each label, with the title of the subtask as "[ParentIssueTitle] - [ParentLabelText]"
How can I achieve this?
How to create multiple issues and How to create multiple issues - advanced example show techniques for doing this. In your case you will need to use %original_labels_comma_separated% replacement variable in the multiple issue value field. The advanced example includes duplicate issue control techniques.
For the summary substitutions, use %original_summary% - %entry%.
Best approach would be to have a workflow transition for "create subtasks from labels" (probably only once in the workflow, or you could end up with thousands of duplicated subtasks)
Once you've got that, I'd write a plugin that provides a post-function that will iterate over the labels currently on the issue and create a subtask for each (or, if you have the script runner plugin, use that, as it saves you having to develop plugins)
Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot