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

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.

Suggest an answer

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

Atlassian Community Events