Search for issues where a field matches

Is it possible to do a query and take a field returned in that search to match fields in another search to return results?

To explain another way, I would like to run a normal query, for example issuetype=Epic and status = closed but then run another query to match a custom field in those results to be a match criteria to find results in another query. Say the field to match from the first query was issue key, and I want to then return results from the first query where the issue keys are used to check that they are not closed.

Something like run query issuetype=Epic and status = closed then for each issue returned return retults for issues where the issuekey is the issuekey from field in the query and then for thos return items that are not closed? Would this be possible with Grovey or something?

Not a great description but I hope you get the gist.

Thanks

Chris.

2 answers

1 accepted

would like to run it from the issue navigator.

Thanks

in this case, it would be quite difficult. the queries in the issuenavigator only return complete issues, as seen in the result list. however the navigator has no way of accessing these issues.

so if you want to perform such an action you could probably only do this by creating a custom query word, which would get the parameter it would need to identify the issues (in the worst case you could even try to submit a whole querystring and then perform a query from within the custom query).

in the end you would get something like:

"issuekey in (custom("issuetype=Epic AND status = closed"))

where custom would return a set of issuekeys.

Do you want to run this as plugin code, or via the issue navigator?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

110 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you