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: 

How can I update a customfield with JIRA Rest?

Bahar Çağlar
Contributor
November 12, 2012

Hi,

I want to update a customfield with jira rest. Here is the url:

url = http://localhost:8080/rest/api/2/issue/ATL-545/editmeta

I am trying this: { \"fields\": {\"customfield_10609\": \""+Body+"\"}}

But I am getting 405 Error. How can I solve it?

Thanks in advance

3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Jobin Kuruvilla [Adaptavist]
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.
November 12, 2012

editmeta is used to retrieve the fields available for editing. To update, you should use PUT on issue key.

See https://developer.atlassian.com/display/JIRADEV/JIRA+REST+API+Example+-+Edit+issues for some examples.

0 votes
hanyAlyHassan
January 27, 2017

In the documentation, it's mentioned that you can use editmeta only to get data not PUT or POST

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events