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

Get issue details by passing custom fields in search API.

Hi Team,

 

I want to fetch the details of tickets by passing custom field in JQL search. Please help me in doing this.

https://help.myDomain.com/rest/api/2/search?jql=assignee=user1 AND project = DEMO

In the above api, I can get the list of issues by passing assignee field, but I want to fetch the details by passing the customfield which is created in my jira account. 

rest/api/2/search?jql=customfield_10302

I am getting some permission error 

{"errorMessages":["Field 'customfield_10302' does not exist or you do not have permission to view it."],"warningMessages":[]} 

1 answer

Hi,

Try this: rest/api/2/search?jql=cf[10302]

Muchas gracias @Aleksandr Zuevich eso funciono muy bien.

/jira/rest/api/2/search?jql=cf[10060]~1170

Gracias!

Like reza-khalafi likes this

Very help. Such thanks!

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