Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Edit custom field with REST API

Full name
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 25, 2018

Hi,

We have a custom label field in our workflow.

The field is displayed on the issue page and during different transition (not in the edit pop-up).  It can be edited directly from the main page of the issue.

Is-it possible to edit that field with the REST API without adding it in the edit screen ? Or only fields in the edit screen can be changed by the REST API ?

Thanks!

2 answers

3 votes
Josh Steckler
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 25, 2018

The only way I know of to do this is to make a status transition (possibly a "circular" status transition back to the same status) that is restricted to only the service account that is being used for the REST API. Then make that transition have a screen with the field.

0 votes
Mohamed Benziane
Community Champion
September 25, 2018
Hi
Try this to check all data that can be edited in your issue

http://localhost:8080/rest/api/2/issue/JRA-13/editmeta

More info here;
 https://developer.atlassian.com/server/jira/platform/jira-rest-api-examples/
But i think only field on edit screen can be edited but i'm maybe wrong.
Sorry for my english
Regards

Suggest an answer

Log in or Sign up to answer