Jira is great for running projects, but if you manage a team in a large organization, you'll eventually need to pull all of the issues assigned to people who work in your org, whether it's for a weekly status meeting or a quarterly review or just to see what's on your team's plate. Below are four ways of doing this in Jira.
We'll use the following organization for illustration
The most direct way to select all users rolling up to a manager is to create a filter.
assginee in (Leo Moore, Mehmet Pierce, Chuck Barr, Kai Bentley, Carlos Brodie)
Now you can write queries like this to select only assignees in Leo Moore's org:
project=TEST and filter=in-leo-moore-org
If you only have a few managers to query for (and your Site Admin permits it), you can create a group for each manager. Technically, Atlassian groups are intended to manage permissions for users, so this is more of a workaround than a real solution. A better approach would be to create Teams for each manager, but there isn't a way to query based on Teams right now -- there's an open issue for this.
Once you have a group created, you can use it in JQL queries like this:
assignee in membersOf("leo-moore-org")
If you can do a little programming, you can add a chain of manager labels to each issue starting from the assignee up to some top-level manager. For instance, using the same org above, an issue assigned to Carlos Brodie would have the following labels: carlos-brodie, kai-bentley, leo-moore, william-maclane.
To query for all issues rolling up to Leo Moore, you can write something like this:
project=TEST and labels = "leo-moore"
The easiest way to query all managers rolling up to any level of manager is to use the OrgJQL plugin. After configuring the plugin with user/manager data, you can use the "orgOf" JQL function like this:
assignee in orgOf("Leo Moore")
Jira doesn't directly support querying all users that roll up into a manager, but there are a number of options:
OrgJQL is free for up to 10 users and is available for a 30 day trial. If you manage a large team (or help manage large teams) and need to generate manager-specific reports, it can be a real time saver.
Rino Jose _Forthix_
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
0 comments