Forums

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

map a custom column through the API

Katerine Meneses
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!
December 7, 2021

Hi,

 

My team is building a report based on some fields in Jira, We are having troubles with an specific field that was created, this field count the time a ticket remains open but only in certain status... so it is a kind of clock that stops for example when the status is waiting for customer. and starts again when in progress.

 

that API gives us so many fields related to our 'time to resolve' field, but none of them give us the right calculus. any idea?

1 answer

1 vote
Joseph Chung Yin
Community Champion
December 7, 2021

@Katerine Meneses -

Welcome to the community.  When using REST APIs, you should always uses the customfield's internal ID to obtain the value for the field.  You can obtain the internal ID by accessing System' settings clog wheel icon >> Issues >> Custom Fields (see image below).  You can see the ID at the bottom left of your web browser page.

2021-12-07_12-49-13.png

If the ID is hard to read, then just click on Context and default value option from the menu, where it will take to that page.  You will be able to find the ID in the URL address of your browser page at the top. 

Hope this helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Infrastructure Applications Team

Viasat Inc.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events