I would like to search for reported issue and its status based on a customfield value. Is it possible to do that with REST API and /or JQL?
First hit on my search engine returned the obvious - https://developer.atlassian.com/jiradev/jira-apis/jira-rest-apis/jira-rest-api-tutorials/jira-rest-api-example-query-issues
Last time when I checked the search engine, probably I missed entries on querying for issues something like: https://xxxxxx.atlassian.net/rest/api/latest/search?jql=project="SomeProject" AND customfield_10XXX ="SomeValue". My bad! Can you kindly point me to such an entry/discussion?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You've answered your own question.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I also thought it was a straight forward query. But, unfortunately it is not working. I was looking disparately looking for a clue on how to format the query to pull the issues for a project based on a customfield. I tired every combinaton possible for hours with no luck. I am simply able to pull issues based on all predefined searchable fields but not based on any of the customfields. I wanted to know what am I missing. I would very much appreciate if your could post a working example or guide me through.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, try running the query you want in the UI, using the advanced search option so you have the plain text of the JQL you want.
This can be fed straight into the REST call to run the same query.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I figured out the solution. The query should be like: project= SomeProject AND text ~ "AA0000123"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.