Hi
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.
Hi,
i am looking for the groovy script or how to write the script for creating a new custom field and bulk insertion of datas to that field at the time of creation .
anybody can help on this ??
Thanks in advance ..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Pls help to create a multi level custom field in JIRA using groovy script .
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.