Forums

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

Jira structure "depends on" field Linked Issues

Marina_CL May 3, 2024

Hello,

I would like to know a way of having in a structure, a columns which shows the linked issues marked as "depends on", not showing all other linked issues (parent, child, etc).

thank you,

Marina

2 answers

1 vote
Stepan Kholodov _Tempo_
Community Champion
May 3, 2024

Hello @Marina_CL 

You can do it with the formula like this:
issuelinks.FILTER($.type = "depends on" and $.source = key).destination

You might need to adjust either the link direction name, or the source of it in the formula.

I hope this helps. If you need further assistance or have other questions about Structure, please reach out to us directly at our support portal.

Best regards,
Stepan
Tempo (the Structure app vendor)

Marina_CL May 3, 2024

I am not sure this is what I was looking for. If I am not wrong, you are adding into a structure the issues that depend on one (or several) specific issue(s).

What I would like is: from a issue filter which has several results (no all with dependence links) inserted into a structure, adding a column in the structure which shows the issue in which each issue of the list has a "depends on" link.

Same as the columns "linked issues" does show, but showing only "depend on" linked issues.

Hope it is clearer now... Thanks.

Stepan Kholodov _Tempo_
Community Champion
May 3, 2024 edited

You can do this in the Formula column using the formula above. It's not about building the structure, but about showing data related to linked issues in a column. The formula checks if every existing issue in the structure has any issues linked to it with the 'depends on' link type & direction. And if an issue has such links on its Issue Page, the formula returns issue keys of the linked issues.

Please reach out to us directly if you have more questions.

Best regards,
Stepan

Like Kelly Arrey likes this
Marina_CL May 3, 2024

Hi Stepan,

 

thank you for the explanation. I am still not able to get it. I inserted formula column with the formula, and it is not showing the issue key on it (on the issues that have that type of link. I guess I am doing something wrong.

I enclose the screenshots

formula.jpg issue-with-link.jpg structure.jpg

Marina_CL May 8, 2024

Any suggestions on this @Stepan Kholodov _Tempo_ ?

 

Stepan Kholodov _Tempo_
Community Champion
May 8, 2024

@Marina_CL 

The 'depends on' link displayed on the Issue Page os DST-3361 is a link direction(inward or outward, how it is configured in your Jira); in the formula, you need to specify the link type. You can find the name of the link to which the 'depends on' direction belongs to at Jira settings | Issues | Issue linking. The name of the link should be defined in the formula in quotes. But the formula might still not return anything because .source and .destination parts reference how two issues are connected by the link of a defined type; you might need to flip those in the formula, depending on the direction of the link.

If you need further assistance - please reach out to our support portal and we'll get back to you shortly.

Best regards,
Stepan 

Like Kelly Arrey likes this
Kelly Arrey
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.
October 7, 2024

Thanks @Stepan Kholodov _Tempo_ does this work in Cloud or only in DC? Thanks,

Kel

Kelly Arrey
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.
October 7, 2024

Aha! Finally got it! Thanks!

Like Stepan Kholodov _Tempo_ likes this
0 votes
Jakub Grzechynka
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!
July 24, 2024

This is awesome, but how would I extract the dueDate from each of these values? For instance I would like to know the due date of each dependency. I used following code. I am able to extract key, but not due date :( 

issueLinks .FILTER($.type = "depends on" AND $.source.key = key) .destination .MAP(CONCAT("Key: ", $.key, ", Due Date: ", $.duedate))

Suggest an answer

Log in or Sign up to answer
TAGS
loom essentials certification, loom training, get certified in loom, atlassian certification, loom async video, video messaging skills, atlassian learning, loom for teams, online certification, loom badge, loom for business, atlassian education

Get Certified in Loom! 🧑‍🎓

Time to up your Loom game! The new Loom Essentials Certification is here! Show off your skills, learn pro tips, and get officially recognized. Perfect for taking your video messaging to the next level.

Learn more
AUG Leaders

Atlassian Community Events