Forums

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

using API to retrieve custom field ID , get 404 error

John Sheng March 19, 2022

 

/issue/createmeta/{projectIdOrKey}/issuetypes/{issueTypeId} endpoint.

 

    <status-code>404</status-code>
my jira version is <meta name="application-name" content="JIRA" data-name="jira" data-version="1001.0.0-SNAPSHOT

2 answers

0 votes
Peter Andréasson June 27, 2023

@John Sheng did you find a solution or got an answer to this?

0 votes
Pramodh M
Community Champion
March 19, 2022

Hi @John Sheng 

To get the Custom Field ID, you will better have visibility of the Custom Field when you get the details of an Issue using the below API

Try to create the Issue in the Project where you have the Custom field present and GET the Issue via API, you will get the Custom field 

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-issueidorkey-get

John Sheng March 20, 2022

Hi @Pramodh M 
yes, I typically use your method. 
And I'd like to document the list of custom field, that's why I am curious why createmeta doesn't work.

Thank you for your reply!

John

Suggest an answer

Log in or Sign up to answer