Forums

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

How to find custom field IDs in JPD

Emily Nash June 11, 2025

Can someone please tell me how to find the custom field labels in JPD? I'm trying to setup an automation, and I can't find this information anywhere. I've tried everything [I have access to] from this page: https://confluence.atlassian.com/jirakb/learn-multiple-methods-to-obtain-custom-field-ids-for-jira-and-jira-service-management-products.-744522503.html but nothing is working. 

The inspect tool doesn't display this information, nor does the JQL search, and my Project fields don't have the three "more" dots... ugh. Please advise! 

This is date field if that matters.field3.pngjpdfield2.pngJPDField1.png

epd5.pngepd4.png

2 answers

1 accepted

1 vote
Answer accepted
Gary Spross
Community Champion
June 11, 2025

You can utilize the API call: 

https://[Instance Name].atlassian.net/rest/api/3/issue/[Work Item Id]?expand=names

Specify an existing work item (Idea) within your JPD project.

Emily Nash June 11, 2025

Thanks, Gary. Though I'm not familiar with making API calls. I understand the [Work Item Id] but what should I reference as the [Instance Name] ?

Gary Spross
Community Champion
June 11, 2025

You'll see it in the URL you use to access Jira/Confluence. It's usually the name of your company. It'll be the beginning part of the URL:

https://yourcompany.atlassian.net/jira

Like Emily Nash likes this
Emily Nash June 11, 2025

Ah! Ok, thanks so much! That worked. I didn't understand the API section of the documentation well enough to build the URL, so thank you!!

Gary Spross
Community Champion
June 11, 2025

Absolutely! The API documentation isn't exactly the clearest (imo). Glad I could help!

0 votes
Bill Sheboy
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.
June 11, 2025

Hi @Emily Nash 

In general, you may use this how-to article to learn the smart values (or custom field IDs) for fields supported by rules:

https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

 

For JPD, some extra considerations are:

  • Dynamic, calculated fields are not supported by rules as the JPD code determines those field values
  • Date fields in JPD are JSON represented as text, not date / time picker or actual JSON.  For example:
    • "customfield_12345": "{\"start\":\"2025-06-11\",\"end\":\"2025-06-11\"}"
    • That can be more easily accessed using the jsonStringToObject() function

If you need assistance reading / writing to a JPD date field, please let me know.

 

Kind regards,
Bill

Emily Nash June 11, 2025

Hey Bill --

Thanks for the response. I think you assisted me on another custom date trigger. Now I have my other automation working, I want to setup another one. 

I don't know how I managed to find the custom field reference ID last time (though Jira has been making so many updates as of late, it could have gotten lost/removed), I cannot find the numeric ID of the custom field, i.e. "customfield_?????" That's really what I'm looking for regarding this particular query.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events