Forums

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

How can I get all current custom fields in a project?

Abdulrahman Riaz
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!
February 10, 2023

I am currently working on a task where I need to import some data to jira but I need to map it to custom fields 

So I need to first check if those fields exist if they don't I want to create them and assign them the data.

1 answer

0 votes
Abdulrahman Riaz
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!
February 10, 2023
/rest/api/3/field?maxResults=150
I can get all fields with this api but is it possible to search for fields and it would return results if they exist? 

like 

/rest/api/3/field?maxResults=150&asset exists? & threatId exits? &...

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