Defining a Jira issue type that can be a child of Feature and Epic

LV November 7, 2024

 

I've defined a Issue type hierarchy as follows:

Feature -> Epic -> The rest -> subtask 

Among "the rest", there is the "Bug" type.

I would like to define the "Bug" type as being able to have either an Epic or a Feature parent.

So a hierarchy like this:

Feature -> Bug , Epic -> The rest + Bug -> subtask 

The only way I found was to duplicate the "Bug" type into "Bug (feature)" and "Bug (epic)" which isn't really convenient.

Feature -> "Bug (feature)",Epic -> The rest (including "Bug (epic)") -> subtask 

Is this possible to have an Issue Type placed under different parents in the hierarchy ?

2 answers

1 vote
Hannes Obweger - JXL for Jira
Atlassian Partner
November 10, 2024

Hi @LV

as suggested, this isn't really possible in Jira's built-in issue hierarchy model.

The only way that I can think of is to use issue links. Issue links can be established between any pair of issues, regardless of the issue hierarchy - meaning that you have full control over which relationships you want to establish.

The downside is that Jira doesn't recognise issue links as parent/child relationships, meaning that you won't get a lot of hierarchy-related features, if any. This being said, if you're open to solutions from the Atlassian Marketplace, there are apps that can help with this. I'll add more information below.

Hope this helps,

Best,

Hannes 

Hannes Obweger - JXL for Jira
Atlassian Partner
November 10, 2024

... and to expand on my last point: If you're open to solutions from the Atlassian Marketplace, you may want to have a look at the app that my team and I are working on, JXL for Jira.

JXL is a full-fledged spreadsheet/table view for your issues that allows viewing, inline-editing, sorting, and filtering by all your issue fields, much like you’d do in e.g. Excel or Google Sheets. It also comes with a number of advanced features, including support for (configurable) issue hierarchies. These issue hierarchies can be based on Jira's built-in parent/child relationships (like task/sub-task, or epic/story), and/or based on issue links of configurable issue link types.

This is how this looks in action:

sub-sub-bugs.gif

I'm using a slightly different hierarchy here, but yours would be easy to model, too. Sub-tasks and "sub-bugs", in this example, are connected to each other via issue links.

Hope this helps,

Best,

Hannes

 

1 vote
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 7, 2024

Hello @LV 

No, that is not possible.

The parent of any given issue must come from the issue types in the hierarchy level directly above it, if you want Jira to natively recognize the parent/child relationship between the issues.

Duplicating issue types, as you discovered, is the only way to have comparable issue types with parents from different levels.

LV November 7, 2024

Thanks for you answer.

What's the best way for searching for bugs (whether of "generic" sub-type or "epic" sub-type) ?

Is there a better option than using

type in ("bug (generic)", "bug (epic)") 

?

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 7, 2024

I don't know of a more efficient way, particularly since you have only two types of interest.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events