Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

How to Create a “Resolved By Me” Query In JIRA

DZone's Guide to

How to Create a “Resolved By Me” Query In JIRA

Atlassian JIRA does not have a built-in query for all issues resolved by the current user. But it has a powerful query language that can be used to create one.

· DevOps Zone
Free Resource

“Automated Testing: The Glue That Holds DevOps Together” to learn about the key role automated testing plays in a DevOps workflow, brought to you in partnership with Sauce Labs.

You might have been heard about the product JIRA. It is a bug tracking product, developed by Atlassian. It can be used as general "issue tracker", “new feature request tracker” and more, rather than solely a bug tracker. It’s more customizable than BugZilla and queries also can be modifiable.

 Today in this small blog post, we will learn how to create a query to list down all the issues “Resolved by” a particular user or you. Continue reading to know more about it.

How to create a “Resolved by me” query in #JIRA dashboard? (www.kunal-chowdhury.com)

In JIRA dashboard, you will not find any filter to find out all the issues resolved by you or a particular user. You will not find other options to change the filter too, but you can easily customize it by writing JQL (JIRA Query Language) in the filter bar. Let’s see how to write it.

Go to your JIRA dashboard and create a new filter. Click on the “Advanced” link as shown in the below screenshot:

Custom filter creation in JIRA dashboard (www.kunal-chowdhury.com)

Now the default filter configuration panel will change to a free text entry box, where you can write the JIRA query (JQL) to filter out the issues or tasks. Here’s the query to list all issues resolved by the current logged-in user:

status in (Resolved, Closed, Reopened) AND status WAS "Resolved" BY currentUser()

Here is the screenshot of the same, which when run will list the issues resolved by currently logged-in user. The JIRA method “currentUser()” returns the current user details. You can also change it to specify any particular user.

Custom filter in JIRA dashboard - Issues resolved by me (www.kunal-chowdhury.com)

 I hope that the post was clear and to the point. If you came to this site searching how to create this custom filter, don’t forget to drop a line below with your feedback about the same. Check out my other posts too. Connect with me over Twitter, Facebook, Google+ and subscribe to my feed to get all the updates that I share.

Learn about the importance of automated testing as part of a healthy DevOps practice, brought to you in partnership with Sauce Labs.

Topics:
atlassian jira ,how to ,bug tracking

Published at DZone with permission of Kunal Chowdhury, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}