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?
Best regards
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
there should be made custom development, to have possibility creating subtasks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.