how to find system field id

Is there any way where I can find the IDs if the system fields and their values?

 

E.g. I want to have the ID of the Priority field and the Blocker field value.

2 answers

1 accepted

6 votes
Accepted answer

you can find all JIRA fields IDs (system and custom) through rest call: {Your JIRA base URL} /rest/api/2/field 

Thank you Moe, I will check this and send an update. Hopefully, this should work.

It doenot show any numeric value for system fields. ID will we displayed as characters.

Example: For System Field Name "Fix Version/s", "fixVersions" is the ID

[{"id":"fixVersions","name":"Fix Version/s","custom":false,"orderable"

  

Correct, system fields do not have a numeric id.

how to set value for system field for example I want to set value Environment field using groovy

Nic Brough [Adaptavist] Community Champion Friday

Most of the system fields can be set with issue.set<id of field>()

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,521 views 15 21
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you