Structure - auto indent

I've been using the Structure plug-in for a while and it is useful. I populate my structures using filters. The filter pulls in all the items I want. From that point I manually group and indent the items to get a nice hierarchy. I would like to get away from having to manually indent and group the items. It can be time consuming to do this work. Is there a way to write a filter than when used to populate a structure will automatically group and indent?

For example can I write a filter that returns a parent issue and its related subtasks and when I use that filter to populate a structure the results will already be grouped (parent with related subtasks, next parent with related subtasks, etc)? The filter would essentially have logic that states "return all parent items and for each parent item return related subtasks.

Structure would look like this:

Parent Item 1

sub-task a

Parent Item 2

sub-task b

sub-task c

1 answer

0 votes

Sean, do you use "Search" functionality of the Structure grid, or do you use "Filter Synchronizer"?

If you're asking about Search function, you can search for a parent issue, add it to the structure, then search for its children issues, and add them to the structure as the sub-issues of the parent. To do the latter, run search for the children issues, click on the parent in the structure and hit Ctrl+Shift+Enter shortcut to insert the issues from the search result *under* the selected issue. You can also use Copy & Paste. Documentation:

If you're asking about Filter Synchronizer, it is possible to configure the synchronizer to add matching issues under the specified issue. But you'll have to create one synchronizer for each parent. Documentation:

There are also other synchronizers: if you want to see all JIRA subtasks in structure (from the standard sub-task feature in JIRA), you can use Sub-tasks synchronizers.

The filter that you describe ("return all parent items and for each parent item return related subtasks") sounds fine, but the search result in JIRA is a plain list of issues, and it's not clear which issue there is a parent and which is a sub-issue.

Hope this helps!

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 29, 2018 in Marketplace Apps

How to set up an incident workflow from the VP of Engineering at Sentry

Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...

1,375 views 0 8
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