Link issues together based on structure hierarchy


Our structure is based on the following hierarchy:




Every time we create a new item in this hierarchy, say a story, it does not connect with the feature in the actual JIRA ticket. Is it possible, to show up the hierarchy level as a linked issue in the next level. For example, the story has, Feature and Epic as linked issues and so on...



1 answer

This widget could not be displayed.

Hello Amit,


If you add an Extend Generator to a structure, putting an issue under another issue will create a link between them, which is specified (its type and direction) in the Generator’s configuration. So to create the Epic Link between Features and Epic you would need to have the Extend ‘Stories under Epics’ Generator and for linking Stories with Features you would need to have the Extend ‘Linked Issues…’ Generator.


But there are couple of things that should be considered:


  1. If a Story is put under a Feature, it could only be linked either to a Feature or to an Epic at the top level. Two different links can't be created at the same time;
  2. Such hierarchy have some limitations, since Stories and Features are considered in Jira as same level issues. So on the Agile Board both Stories and Features will be listed together and there will be no visual indications on which of those issue is a parent and which is a sub-issue. We would recommend to use Sub-tasks instead of Tasks or to have Epics above fFeatures and another issue type above Epics.


Please feel free to contact us at if you need further assistance.


Best regards,

Stepan Kholodov

ALM Works

Additional note regarding point #1 for clarification: if a Task is created under a Feature (focus on a Feature and press Shift+Enter to start creating an issue on the lower level), the link between those issues will be created automatically. A Task will not have the Epic Link to an Epic. And if you create an issue under an Epic, you will need to pick what link will be created - the Epic Link or the type of link, that is created by another Extend Generator. You can configure levels on which both Generators will work - the 2 level for the Epic extender and the 3rd for another - and the right link will be created on its own.


So in any case, Extend Generators only create links between direct parent and child - an Epic and a Feature or a Feature and a Task.

Thanks Stephan. I tried the following:

1. From the structure

2. Click on Automation

3. Highlight the Feature (Epic -> Feature -> Story is my hierarchy)

4. Select Extend with from the Automation menu

5. Choose Linked Issues

6. Choose Linked Type  as Belongs

    Link Direction - Parent belongs to sub issue

    Extend Levels - All levels

7. On clicking Apply, i see something happening in the background, but when i see the story, the feature is not showing as a linked issue.

Am i doing something wrong?

Hello Amit,


Before adding a Generator in a structure, the focus needs to be on a structure’s root (you can do that by clicking on structure’s name right below the Summary column’s name). This way a Generator will be applied to the whole structure and affect all of the added issues. So please delete the Extend Generator you added under a Feature and re-add it to the root of the structure, it should work.


Best regards,

Stepan Kholodov

ALM Works

Hi Stephan,

I have a feeling we are talking about different things. My challenge is that when i create a story under a feature, the feature does not show up as a linked issue, automatically in the story's "Linked Issues" section. 

So the hierarchy is only seen on the structure, while the relationship is lost when i see the actual ticket details. 



Hello Amit,


The added Extend Generator does two things: it adds already linked issues under their parents in a structure and it creates a rule which will basically mean: “if an issue is manually put under another issue, the link of this particular type will be created between them”. The latter does seem like the functionality you are asking about - if you create a Story under a Feature, the Extend Generator will automatically create a link of the specific type between them in Jira.


To see for yourself how it works, you can try to do the following:


  1. Create an issue in an empty structure;
  2. Put focus on the structure’s root and add an Extend Generator for any link type;
  3. Focus the created issue, press Shift+Enter and create another issue under it;
  4. Select an option to add a link between issues in the decision panel. As a result a specific link will be created between issues.


Best regards,

Stepan Kholodov

Hi Stephan,

The 2nd is exactly what i am trying to do, but in an existing structure. Please see attached images. 

1. Created a new structure

2. Added a feature

3. Added a story

4. Created an extend generator on the root

5. Choose Linked Type  as Belongs

    Link Direction - Parent belongs to sub issue

    Extend Levels - All levels

6. Went to the story ticket details

7. The feature does not show up as a linked issue


Step 1.pngStep 2.png

Hello Amit,


Do you have a permission to link issues in Jira? And is the ‘Allow changes via structure’ is selected in the Extend Generator’s configuration (you can see it if you double click on it)?


Also when you added an issue under its parent, did the decision appear asking you what to do with only one option available - to add that issue to the structure?


If you do have the permission and the said option is selected in the Generator’s configuration, then an investigation is required to find out why the link between issues is not being created. In that case, some diagnostics data might be needed, so please create a support ticket at our Service Desk portal - - for a better convenience and we will get back to you shortly.


Best regards,

Stepan Kholodov

Okay. Looks like i have got it now. I am able to create an issue and i see the decision box, and the link is created fine when i create a new issue. Thanks for this.

Can i do this on an already created structure, because that is where this does not seem to be working? Does this only apply for new issues?

Thanks much. learnt something new today.

- Amit

Hello Amit,


Glad to hear that everything works. As for the already existing structures - adding the Extend Generator will not create a link between issues that are already paired in a structure. The link will be created only between issues that were placed after you added the Extend Generator. So for the link to be created between issues you want, you would need to outdent them and then indent them again (basically, to place one issue under another again, but this time with the Generator's rule applying to them). Or you can remove the sub-issues and recreate them.


I hope this helps!


Best regards,

Stepan Kholodov

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published yesterday in Marketplace Apps

The 7 hacks of highly successful automation

...there's anything I've learnt from working, it's that people are lazy! No offense to anyone reading this, but it's true and we can all admit it. The easier you make something for someone, the more...

162 views 0 12
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