Reputation: 69
I need to update "matter" field (single select list). What is the best way to do that?
I have a values in bulk (more than 100) to be added to the custom field. Is there any way i can do this by using an API. I have also checked the link
But nothing is mentioned here as well.
Upvotes: 3
Views: 4048
Reputation: 730
Just add the customfield to the issue json like
{ "fields": {"customfield_XXXX": "value"} }
where XXXX is the customfield number. You can get it by looking at the custom field screen on Jira and look at the link shown in the browser bar by hovering you mouse on the custom field action links.
Moreover you said that is a single select list so the value will be only ONE.
If you intend to CREATE or EDIT a customfield on the fly with 100 choices it is a completely different problem.
Check this unresolved suggestion on the Atlassian website for advice. The issue contains also a workaround with a custom plugin available.
Upvotes: 5