creating customfield using multi level cascading and load the values at the time of the custom field creation using groovy script.
we have used jelly runner for creating the custom field and load the multiple values at the time of the creation itself .is is possible to do with groovy script .
is there any steps to follow or any example code ?
For loading the custom field values you can use the built-in script "Bulk import custom field values": https://scriptrunner.adaptavist.com/latest/jira/builtin-scripts.html#_bulk_import_custom_field_values
If you want to do this in code yourself, you would need to use com.atlassian.jira.issue.CustomFieldManager to first get the field which will then give you the field config object and finally use that in com.atlassian.jira.issue.customfields.manager.OptionsManager to create the option.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs