How to create a jira URL to do a JQL search

Brent Pease July 18, 2012

Hi -

I have a script that reports linkage errors to our users. I would like to generate a URL that will bring up a page that shows all of the issues that contained an error for the user. So far I have been able to create something like the following:

https://industrialtoys.atlassian.net/secure/IssueNavigator.jspa?jqlQuery=issue%20in%20(AFCT-104,AFCT-35,AFCT-34,AFCT-4,AFCT-42,AFCT-33,AFCT-61,AFCT-43,AFCT-59,AFCT-78,AFCT-56,AFCT-57,AFCT-58)

However, this just brings up the jql search page with the query entered into the text box but it does not actually initiate the search. The user has to push the "Search" button to get it to work. Worse, if a previous search was active it will bring up the search results of the previous search fooling the user into thinking the search actually worked.

How can I construct a URL that will both entered the JQL search string and actually perform the search?

Thanks!

Brent

3 answers

1 accepted

2 votes
Answer accepted
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 18, 2012
Brent Pease July 18, 2012

Awesome. Thanks! Are these parameters documented anywhere? I googled around for it before I posted the question but could not find anything...

Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 18, 2012

Don't think so. You will see it when you run a search from History.

3 votes
Patrick S
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 7, 2019

IssueNavigator.jspa was deprecated at some point. If anyone finds this post in the future, use /issues/?jql= instead.

For example

https://yourJIRAurl/issues/?jql=project%20%3D%20"Service%20Desk%20Maintenance"%20
0 votes
rafael.quaresma November 26, 2020

Hi, 

This is how i did

https://my_jira_url/rest/api/2/search?jql=assignee=my.user%20and%20status%20=%2010000

'%20' is used to space and the number 10000 is the status "in dev" in my case.

Sometimes the value that is displayed in the field isn't the logical value of the field, in this cases i just use some api to get the issue data and find the field that i want to know the correct value.

Like this:

https://my_jira_url/rest/api/2/issue/''ISSUE_ID'

Json property that cotains the status name and the id :


"name":"Em Desenvolvimento",
"id":"10000",

Suggest an answer

Log in or Sign up to answer