Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

customfield_10000

mateen khan
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 24, 2015

I am using JIRA rest api with the below url with proper username and password

https://my-jira-domain/rest/api/2/issue/11817 

and in the response i see some fields like

customfield_10000,

customfield_10001,

customfield_10002,...

customfield_10031

 

wanted to know what are these fields and what can be the possible values for these. 

3 answers

1 vote
Jonas Andersson
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 Leaders.
September 24, 2015

Best way is using mysql (if thats what you backend your JIRA with).

To see a list of customfields:

select ID, cfname from customfield;

To search for a custom field you know the name of:

select ID, cfname from customfield where cfname like '%location%';

To see the options of a specific customfield:

select * from customfieldoption where CUSTOMFIELD='id goes here';

 

So as an example:

mysql> select ID, cfname from customfield where cfname like '%locat%';

+-------+--------------------+

| ID    | cfname             |

+-------+--------------------+

| 10305 | Location           |

+-------+--------------------+

1 rows in set (0.00 sec)

 

mysql> select * from customfieldoption where CUSTOMFIELD='10305';

+-------+-------------+-------------------+----------------+----------+-------------+------------+----------+

| ID    | CUSTOMFIELD | CUSTOMFIELDCONFIG | PARENTOPTIONID | SEQUENCE | customvalue | optiontype | disabled |

+-------+-------------+-------------------+----------------+----------+-------------+------------+----------+

| 10100 |       10305 |             10501 |           NULL |        1 | Amsterdam   | NULL       | N        |

| 10101 |       10305 |             10501 |           NULL |        4 | Hong Kong   | NULL       | N        |

| 10102 |       10305 |             10501 |           NULL |        3 | Stockholm   | NULL       | N        |

| 10103 |       10305 |             10501 |           NULL |        2 | Wasa       | NULL       | Y        |

| 10104 |       10305 |             10501 |           NULL |        5 | Las Vegas        | NULL       | N        |

| 10200 |       10305 |             10501 |           NULL |        0 | Global      | NULL       | N        |

+-------+-------------+-------------------+----------------+----------+-------------+------------+----------+

 

 

0 votes
Jaime S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 24, 2015

If want to know which custom fields these are and if you have access to JIRA, you can:

  1. Go to the custom fields page
  2. Select one custom field
  3. Click the 'cog icon' and hover your pointer over one of the options
  4. Check the URL that appears on the bottom, it will say the custom field's ID
  5. If the ID matcher one of those, that is the customer field
  6. Otherwise, test a different custom field

If you have access to the database, you can check it there too.

Kind regards,
Jaime Kirch da Silveira
Atlassian Cloud Support

0 votes
Nic Brough -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 Leaders.
September 24, 2015

They are custom fields that you have added to your system.  (Note some add-ons like Agile can create them too)

See https://confluence.atlassian.com/jira/adding-a-custom-field-185729521.html

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events