We assign issues to users, but not their subtasks. I want to create a view which shows the issues assigned to a particular user, along with their subtasks. Possible??
Thanks all!
Hi Bevis,
If I understood correctly, you’d like to capture all issues assigned to a specified user and the child issues of these issues, even though they are not assigned to the user. This is not possible in native JQL without using any third-party extensions such as ScriptRunner, however, luckily JXL for Jira can help anyway. You do not need any other app for this.
1. You need to define a Sheet scope (JQL statement or saved filter) that captures all the issues you need in your sheet. All of them. This is important, as there will be no further queries once the sheet has loaded this set of issues. If necessary, write a JQL query that returns irrelevant/more issues than needed, that’s no problem. You can filter them out later. A simple example would be: assignee = currentUser() OR issuetype = "Subtask"
2. Enable Issue hierarchy or create a Custom issue structure using Hierarchy levels.
3. Now you should have your issues structured in a tidy, indented, collapse-expandible visualisation. Any unneeded issues in your sheet as a result of the sheet scope potentially being too broad can now be filtered out using Level filtering. In your specific case, you’ll want to set the Issues without parents menu to Hide child level issues or Hide bottom level issues.
Hope that helps. Let me know if I can clarify anything.
Best,
Daniel (JXL team)
Thanks Daniel. We're using JXL and I'm a big fan. I think I've done as you suggested, but when I filter on User X it shows fine, but if I then change the Assignee of one of the subtasks, that subtask disappears. And I understand why, but I want to keep it their in the view regardless of who that Assignee is (many will ultimately be assigned to freelancers, but they're the responsibility of User X and they need to appear for them). Perhaps I've misunderstood your message.
Thanks again,
Bevis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bevis. Not sure I understood correctly, but if you're using Column filtering on the Assignee column (as opposed to JQL) to filter out User X, this will by default apply to all rows, i.e. hide any issues not assigned to User X. Level-specific search and filtering could help you here to apply the column filtering selectively only to top or parent level/s and ignore the subtasks.
Looking at your use case, another more general idea would be to create a custom people field to track "responsible person" separately from assignee, and add that column also to your table.
Hope that helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Eureka, got it!! Now found the level-specific search/filtering icon. Working perfectly. Thanks very much
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.