It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

how can i determine the field id for a standard JIRA value? For instance, Fix Versions?

This question is in reference to Atlassian Documentation: Configuring Built-in Fields

I know how to find the field ids for custom fields.  How do I determine what the field id is for a standard or system field?  For instance, Fix Versions?

4 answers

Fix Version is System Field and not a Custom Field.

 

What you want to do with the id anyway?

Our testing team is building a utility that pulls data based on the field id.  They are requesting this. I do understand it's a system field and not a customized field.  I can determine the id for custom fields, but don't know where to locate it for system fields.

How are you pulling the data from JIRA using jql or from the database using sql?

For the sql case I have the sql ready , if you want I can share it.

Regards

Prakhar

0 votes
Nic Brough Community Leader Aug 31, 2016

The id is fixversion - the system fields all have names rather than ids.  Have a look at https://docs.atlassian.com/jira/latest/constant-values.html#com.atlassian.jira.issue.IssueFieldConstants.AFFECTED_VERSIONS

You can call the API at (base_URL)/rest/api/2/field to get:

  • {
    • "id": "fixVersions",
    • "name": "Fix Version/s",
    • "custom": false,
    • "orderable": true,
    • "navigable": true,
    • "searchable": true,
    • "clauseNames":  [
      • "fixVersion"
      ],
    • "schema":  {
      • "type": "array",
      • "items": "version",
      • "system": "fixVersions"
      }
    },
  •  {
    • "id": "customfield_17301",
    • "name": "wcb_userid",

...etc

Documentation (for 6.4.11, your mileage will vary) here: https://docs.atlassian.com/jira/REST/6.4.11/#d2e829

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

1,098 views 7 0
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you