I am trying to retrieve the count of issues in a project which are bugs and whose status has been closed or resolved and resolution fixed. Along with that I am trying to make sure the assignee of the bug is not same as the reporter or the assignee is not unassigned.
This is what I have so far:
https://issues.apache.org/jira/rest/api/2/search?jql=issuetype=Bug and resolution=Fixed and status= Resolved or status = Closed and project=AMQ and assignee!=reporter and assignee != ''
However, the total count returned is more than the actual count of bugs present in the project repository. Please assist.
It's only possible with plugins. You can't use functions such as reporter, assignee on the right side of the equation.
However, if you're using Script Runner, you can achieve this using issuefunction JQL function
issuefunction in expression("", "assignee != reporter")
Hope it helps
Hi Atlassian community, A few months ago, we offered a sneak peak of the new hierarchy view on the roadmap. Thank you for all the feedback (and excitement) and for helping us shape the direction of...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events