Hello, I need your help with the Adaptavist Scriptrunner.
In my JIRA project, I have some multi-select custom fields.
My example: I create a story, here are 9 multi-select custom fields in the "create-screen"
I want to create for each selected value from each selected field, one separate Sub-task:
Overall there are ca. 100 different Values out of the 9 fields.
Has anyone an idea of how to script this problem?
Thanks for any help in advance.
I hope you are having a nice day.
I'm not sure on how you can perform such automation with Scriptrunner plugin, however, I'm aware of some solutions which do not require any codes.
I understand that you would like to create a new sub-task issue for each option selected of your 9 select list custom fields. Is that correct?
If i got it right, I would like to suggest you try Automation for JIRA plugin. You can simply customize the automation below to achieve your need:
Here's the background of the rule configured above:
- I created a custom field with two possible options (Option 1 and option 2)
- The rule is triggered every time the custom field is changed
- The IFS conditions will create a new issue for each option selected of the custom field
You can simply configure the rule above for each one of your 9 custom fields, customizing the ifs to create issues based on the options selected.
Let me know if this information helps!
I've already tried Automation for JIRA. But I need dynamic automation which needn't be adapted.
However, I have between 5 and 25 options per field, so my automation would be about 100 entries long, very complex and not very dynamic.
I'm hoping for a script solution that will automatically adjust as new options are added.
If Customfield.value is selected - create sub-task per value with summary "custom field.value" plus additional fields
Hi everyone! My name’s Matt and I’m a product manager at Atlassian. I work in the navigation & findability space for all our Jira Cloud products. We’ve been working on trying to improve the exp...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events