Forums

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

URL to view my watched issues which are restricted to a project

Shakir Islam May 14, 2019

Hi all,

I am trying to produce a URL that will show me issues:

 

1) That I am currently watching

2) Restricted to a specific work space (i.e. hopefully can be hard-coded into the URL)

[nice to have] 3) Issues that are not in the 'closed' state. 

 

Thank you in advance for your help :D

2 answers

1 accepted

0 votes
Answer accepted
Nic Brough -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.
May 14, 2019

The JQL I would start with is "watcher = currentUser()" for point 1.  I'm guessing by "specific work space", you probably mean "project", and "closed" is clear, so you eventually get

watcher = currentUser() and status not in (Closed) and project = "A project"

You can turn that into a url with https://yourjira.base.url/issues/?jql=watcher%20%3D%20currentUser()%20and%20status%20not%20in%20(Closed)%20and%20project%20%3D%20%22A%20Project%22

All the %xx stuff are control codes, mostly meaning "space"

Shakir Islam May 14, 2019

Thanks! Massive help. I had a slight issue with your solution where I would get a "The requested URL /issues/ was not found on this server." error. However, (FYI for others experiencing same problem) I fixed this by adding a "jira/" to the URL. Therefore, it looked similar to this:

 

https://yourjira.base.url/jira/issues/?jql=...........

Nic Brough -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.
May 15, 2019

That's because you have a different "context" for your Jira system.  A lot of us do that.  The context is part of the base url though, so just replace my yourjira.base.url with your full base url and it will work fine.  Your base url is <something>/jira

0 votes
Deleted user April 30, 2020

Additional question on this: Is it possible to define the columns in the URL that I would want to have in the results?

Suggest an answer

Log in or Sign up to answer