Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to get issues with custom field

HI Team,

currently I am using 

rest/api/2/search?jql=project=<project_id>&fields=project,assignee,Interviewer&maxResults=7 to get the JIRA issues for my project. here interviewer is the custom field. which is not been returned by responce. Can you please let me know how can i retrive all the issues with the custom field value. Thanks in advance

1 answer

1 accepted

0 votes
Answer accepted
Payne Community Leader Feb 11, 2020

Use customfield_nnnnn (e.g. customfield_10423) instead. To get the ID, go into the custom fields screen, search for your field, and hover over the screens link. Or view the source of a View Issue screen, find your field, and note id of the div surrounding the field value.

thanks a lot for suggestion it worked, Can you please help me how can I get data incrementally, i.e updated or created after certaintime. thanks in advance.

You can include those fields in your JQL. Something like this:

rest/api/2/search?jql=project=BR+and+created>2020-02-11&fields=created,assignee

Agnes I'm New Here Dec 14, 2021

Bug how to get issues if the custom field is related field?

Agnes I'm New Here Dec 14, 2021

I use "customfield_10906",but it failed to get returned by response

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you