How to find id for custom field(s)?

Still need help?

The Atlassian Community is here for you.

Ask the community

Platform Notice: Server and Data Center Only - This article only applies to Atlassian products on the server and data center platforms.

The content on this page relates to platforms which are not supported. Consequently, Atlassian Support cannot guarantee providing any support for it. Please be aware that this material is provided for your information only and using it is done so at your own risk.

Use case

This is beneficial when you are running SQL queries that requires id of a custom field

Using JIRA Home Directory and DB Browser plugin

  1. To run the following steps, make sure you have the JIRA Administrator permission.
  2. Install JIRA Home Directory And DB Browser.  
  3. Navigate to the Db Console.

  4. Select customfield table and Execute.

Using URL

  1. Navigate to Administration >> Issues >> Custom Fields.
  2. Click the cog and hover over Configure or Screens option.
  3. Observe the URL at the bottom left of the browser window. Example:

    (info) The id for this custom field is 10006

Using API

  1. Using an API Execution Application or from your Command Line run: 

    get https://Your-JIRA-URL/rest/api/2/field

    This will return a list of Fields in your instance including their ID's

 

Last modified on Apr 7, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.