Looking for insight into the best way to solve this issue:
I started setting this up using the ScriptRunner Create Subtask function, but looks like I'll need to create a listener function for each option, which is not ideal. However this does appear to handle all my needs, other than I'm unsure how to code the condition to ensure it doesn't create new subtasks nor modify existing ones for values that were previously checked. Currently the Scriptrunner condition is using the following:
'My value' in cfValues['My Multi List']*.value
Any assistance would be greatly appreciated!
You will need a listener but quite a complex one because there's quite a lot of things you need to think through. It's definitely better to use a single one though, rather than one per option.
On events "issue updated" or "issue transition"
I'd run JQL to read through the existing sub-tasks for the issue and compare them with what I might be creating - any close match found, don't create it.
Last time I did this, there was a simple case - we were creating sub-tasks by component, so a simple "parent = current issue and component = <component we're thinking of creating for>" test applied.
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