Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Column to display all issues of a particular issue type linked to each issue in a Structure?

Andrew Gioe March 17, 2021

I have a structure populated with bunch of issues and I want to add query match column to that structure that shows all the issues linked to each member of that structure but only include the issue types I specify. It essentially amounts to adding a filter to the to default  LinkedIssues query match that only passes the issues types I specify . Is there a JQL or SJQL query that would be appropriate for this kind of query match?

2 answers

1 accepted

0 votes
Answer accepted
Mario O.G
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 22, 2021

Hi Andrew!

It is not possible to achieve this goal in Structure yet.

However, we already have a task that covers this exact scenario.

I'll make sure to post an update here once it's available.

Cheers,

Mario O.G
[ALM Works]

Andrew Gioe March 22, 2021

Understood. Thank you!

Mukund Iyer Rajamony
Contributor
March 29, 2022

Is there a way out? I would like to see in my structure on a column an entry to the name of a linked issue of a particular type.

Like Andrew Gioe likes this
Andrew Gioe March 29, 2022

No updates on this since my last post

1 vote
David Niro
Atlassian Partner
March 30, 2022

Hello @Andrew Gioe  & @Mukund Iyer Rajamony ,

David from ALM Works here.

If I understand correctly, the goal is to add a column to your structure that will return the Issue Key for any issues that are linked to the current issue by a specific issue link.

If my assumption is correct, some formula enhancements introduced in Structure 7.4 should help accomplish this goal.

It would look something like this:

issuelinks.filter($.type = "blocks" and $.destination=this).source.key

It looks at the issue links array and then filters out the direction you define with the destination being the current issue.  Once it finds and filters these issue links, it returns the source of the link direction's issue key.

You will want to modify the link direction name.  In the example above, I use "blocks".

Please let me know if this helps!

Best,
David

Matthias Schindler
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 13, 2022

Hello David,

i'd like to achieve this but not for "blocks" but for "is caused by" or "causes". 

but whatever type I use instead of "blocks" I get no results. 

How can I get it working for other issuelink types?

Best,

Matthias

David Niro
Atlassian Partner
June 13, 2022

Hello @Matthias Schindler ,

Welcome to the Community!

"is caused by" and "causes" sound like the inward (destination) and outward (source) descriptions of the issue link you would like to use.

Where you see "blocks" in the example formula above should be replaced with the Name of the issue link. 

If you have Jira Admin privileges, you can follow the instructions here to determine what the name of the issue link is.  If not, you can ask your Jira Admin for the name of the issue link with aforementioned descriptions.

Let me know if this helps!

Best,
David

Matthias Schindler
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 13, 2022

HI David,

thanks that did the trick. I didn't know yet that there are extra names for the types. as for "blocks" the outward description was also "blocks" that did my confusion :)

thanks!

MAtthias

AMP Admin Email Account July 6, 2023

Hi David,

 

The question was to see linked issues of a specific issue type. For example, if I use this: "issueLinks.MAP(IF($.source = this, $.destination, $.source))", I'll be able to see issue keys of all linked issues of a issue in the column but it can be any issue type (eg. story, bug, task, etc.). What will be the formula to see linked issues of a specific issue type (eg. bug only).

 

Thanks.

Like Piotr Musiela likes this

Suggest an answer

Log in or Sign up to answer