Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Is it possible to search for issues where assignee=reporter?

Nafets Kellerm July 23, 2014

Hi,

Is it possible to make a jql search to get the findings where assignee equals reporter? If not, is it possible with a Java programme with the Rest api?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Answer accepted
JamieA
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 23, 2014

You need a plugin, eg Script Runner, see https://jamieechlin.atlassian.net/wiki/display/GRV/Scripted+JQL+Functions#ScriptedJQLFunctions-expression(Subquery,expression)

Query would be:

issueFunction in expression("", "assignee == reporter")

First parameter is used to trim down the results that are passed to the filter, to speed things along, eg:

issueFunction in expression("project = JRA", "assignee == reporter")

Nafets Kellerm July 23, 2014

is it not possible to write it in Java with the Jira rest client? I don't need to search in the web, only execute the skript once

JamieA
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 24, 2014

Yeah you can fetch all the issues and just compare the reporter with the assignee. Will be slower though.

TAGS
AUG Leaders

Atlassian Community Events