Hi Runa,
There is a Suggestion titled Add, edit, or delete custom fields in REST API that provides a third party add-on which may be of use:
It would be nice to be able to deal with custom fields using Jira REST API.
At the moment, it's possible to get some info by retrieving editmeta :
http://example.com:8080/jira/rest/api/2/issue/{issueIdOrKey}/editmetaBut you cannot add, edit, or delete custom fields via JIRA REST API (as you can in the admin section).
Workaround
The third party plugin Jira Customfield Editor provides REST endpoints for the CRUD operations on custom fields.
Please take a look at the Suggestion and vote on JRASERVER-28539 or JRACLOUD-28539 depending on whether you are using Server or Cloud to provide impact and be notified of any changes to the ticket.
Cheers,
Branden
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After all, I'm not using JIRA REST because it is slow.
But at that time I tried to customize the library, and customizing as follows, I could update issues by deleting values of fields.
In jira-rest-java-client-core-4.0.0.jar, com.atlassian.jira.rest.client.internal.json.gen.IssueInputJsonGenerator.java, comment out line 40 and 43
// if (field.getValue() !=null) { // line 40
// } // line 43
And to not throw exception, in case of deleting values of components, I set a instance of ArrayList<ComplexIssueInputFieldValue> to the field value instead of null.
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.