Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Get/Update Custom Field value by name via REST API

Matt Lin December 29, 2013

Hi,

We are using REST API with WCF and JSON.NET to update or query jira issue.

For custom field , we operate by id (like customfield_10001) ,

but different environment the id of customfield is different.

(We added a new customfield on our dev and production jira , but the id of customfield is different. )

Can we using customfield name by rest api or can we change the id of customfield ?

Thanks

3 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
donovan jakobi November 12, 2015

Hi there,

I'm looking for the same things as Brian... any feedback?

0 votes
Brian Mehrman March 4, 2014

Is there a way to get a list of the Custom Field Options that are associated to a Custom Field. I am trying to get the list of options for a Single Select List.

Is this even possible?

0 votes
Paul Greig
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 29, 2013

Hi Matt,

While the id cannot be changed within JIRA, you could create a backup of your Prod data and import the backup into Dev. This would delete everything currently in Dev, but would ensure the same custom field ids are identical between both environments.

If you want to get a list of all of the custom fields from each environment, you can use the REST API: http://<instance>/rest/api/2/field

Cheers,

Paul

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