Hi,
Is there a way to filter list of issues based the project name and assignee?
https://base/rest/api/3/search?jql=project=projectName&assignee=currentuser()
I'm trying to use the above URL but it shows the total=0(event though I have some results to show).
Any hack on this?
Yes, most of us would do what you have written there when searching for "project X issues assigned to me" over REST
You seem to be doing exactly the right thing. Could you tell us what that returns that is wrong?
Hi Nic,
Thanks for your comment. The above API returns total=0(even though I have some results to show). But if I just pass either one of the params, it shows the partial result.
Do we have any specific API structure to pass both the project name & assignee to extract the required result?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ah, I am sorry, I should have remembered this sooner. & is a delimiter in urls, not a jql operand.
Jira is ignoring the bit after the & because it's indicating the end of the JQL! Try
project=projectName+and+assignee=currentUser()
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.