The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to add filters in the api- /issue/createmeta/{project-id}/issuetypes/

Mansi Gusain
Contributor
April 11, 2025

Hi, for this Api- /issue/create meta/{project-id}/issue types/ from the response body returned, I need only the

name and id fields from the response, is there some jql query or fields params?

 

 

The Jira Cloud platform REST API

The above is the API. So from the response I need only the name and the id. 

 

image.png

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

3 votes
Answer accepted
Vikrant Yadav
Community Champion
April 11, 2025

Hi @Mansi Gusain In this API you can't add JQL query. Unfortunately, Jira's createmeta API does not support query parameters to filter only specific fields like name and id directly in the request URL
You need to export the json to csv and filter out the data. in API you can't add filter. 
OR you can create python script to get field name and if only. 

Mansi Gusain
Contributor
April 11, 2025

Hi thankyou for replying , same applies to this also? 

/issue/createmeta/{project-id}/issuetypes/issueid api as well ? Here also I only needed the required set true fields only but I am getting all….

Vikrant Yadav
Community Champion
April 11, 2025

Same applies to this API as well. You will get complete data.

 

Mansi Gusain
Contributor
April 11, 2025

Okay, thanks for the prompt reply. 😊

Like Vikrant Yadav likes this
Vikrant Yadav
Community Champion
April 11, 2025

I'm glad I could help! 
If the solution worked for you, kindly click "Accept Answer" so it can assist others with a similar query.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events