The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

update custom field rest api

CyberSage
September 11, 2020

how do I update an existing custom field with rest API remotely? 

I need to replace field name (current value is "vector 1") or field description with a new string passed by the rest client as a parameter.

how would the rest request look like? can not find it in docs. 

thanks. 

 

here is the custom field obtained by the api: 

rest/api/2/issue/TM-196/editmeta

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Lasse Langhorn
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 Champions.
September 12, 2020

Hi @CyberSage

I am pretty sure you do not have the option to update the name of a custom field in Jira via the REST API. You can create them though.

Jira v8.12.1 server REST API documentation

Jira cloud REST API documentation

Hope this helps you further.

Regards

Lasse Langhorn

CyberSage
September 12, 2020

Langhom, thank you.

does Jira server support creating custom rest API?

updateCustomField from Jira library is able to update the custom field.

how about exposing the method via a custom rest API?

DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events