Forums

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

Using the /search API to match web UI search results

Alex Crooks February 22, 2019

If I search for "ABC-1" in JIRA web UI it automatically determines that this is a key search and returns results. Or if I want to find the "development" task in project "ABC" I can search "development ABC-" and JIRA automatically creates the jql:

 

key in (ABC-1, ABC-2, ABC-3, ABC-4, ABC-5, ABC-6, ABC-7, ABC-8, ABC-9) AND (summary ~ "development*" OR description ~ "development*") ORDER BY key ASC

Is there a search end point where I send the same natural language search and JIRA work out what I'm after? 

 

It seems odd that I would have to re-create their complex automatic string to jql parser in my application. 

1 answer

0 votes
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 25, 2019

Hey Alex,

What you're looking at is referred to in our documentation as Smart querying. Unfortunately this feature isn't exposed via the API. There is an open feature request to add this to the API: JRACLOUD-43694.

I do want to manage your expectations that the feature request hasn't seen a lot of activity and might not be implemented anytime soon. For more information about how Atlassian prioritizes feature requests made on jira.atlassian.com, check out this Community post. It never hurts to vote on and watch the issue, as well as commenting with your use case or any extra info relevant to the feature.

Cheers,
Daniel

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events