I have a requirement, where I have to add more than 3000 option values to a custom field. How to do that.
Can we do using a script runner plugin?
Hi @Sravan Muppavarapu,
Welcome to Atlassian Community!
You could use the REST API to do this and Scriptrunner should work too, but you should really consider it you want to add those 3000 plus options. The select field doesn't have a hard limit, but you will run into performance issues, see this question.
Another option would be to use an external data source and an app like Elements Connect, I used that when I was on Data Center and we needed to add a field that had 10000+ part numbers.
Hi Mikael,
Thanks for the response. My situation is also the same. these 3000 options are like apart names and numbers.
To overcome the performance issues, can I update 400 values every day or something like that?
No, your issue is that you will run into performance issues when someone will try and use the field. I would consider using an external data source, or if you have access to Insight use that instead because the field values are populated when the user is typing in the field instead of having to wait for the list to first populate before you can see them. And by using external data source or Insight you can easily maintain the list rather than having to do it from the custom field.
okay. I will try it. Already that custom field had 2400 options and these 3000 values are added to it.
Hi @Sravan Muppavarapu
I am the Product Manager of Elements Connect.
Elements Connect allows you to do that. If you would like to discuss your use case or have any further questions, feel free to book a call to my Calendar.
Best regards
@Sravan Muppavarapu could you please tell me the process how you did it through CSV. I have the same requirement.
Thank you,
Jagadesh
@jagadesh.e
The usual procedure (for rendering your field utterly useless - please see the points made about usage above), is to
This will create thousands of issues in your project, each with the custom field set to a new imported value.
Note that you may have to do this in batches, some versions of Jira can only handle 1000 imported issues at a time.
It looks like you're new here. Sign in or register to get started.