Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Retrieving links of Epic via EXPR

Edited

Hi, everybody.
I'm using "Strucuture for JIRA" plugin and bumped into a problem when configuring a formula column - I was unable to get a collection of links for the epic of issue in context. I tried several forms:
epic.issueLinks
this.epic.issueLinks
this.epicLink.issueLinks
epicLink.issueLinks 
Nothing worked. 
Please, help me to find out the correct syntax for this formula.

P/S. I know, I can include epics into the structure and address to the attributes of parent, but it's not a solution in this case.

1 answer

Hi @Mikhail Kouyantsev 

Dionathan with ALM Works here.


If I understood it correctly, you just want to show in a Formula Column the Epic to which the issue is linked, is that correct?

If yes, you could try using the code "epic" or you could add a new Column "Epic Link".

Both alternatives will be like the following:

 

image (5).png

 

Please let me know if it does help.

Best Regards,
Dionathan

Hello, Dionathan!
No, I've got another case.
Link hierarchy is as follows:
Project 1 Story 1 -> contains -> Project 2 Epic -> Epic of -> Project 2 User Story1.

And I want to make a column showing Project 1 Story 1 for Project 2 User Story 1. In other words I want to have "PROF-142" instead of "USM-2421" in formula column

Structure_view.PNG

Hi @Mikhail Kouyantsev 

Thanks for the detailed information.

In this case, you could try the following codes, depending on how the link is configured in your instance (PS: this formula will work only on the latest versions of Structure (V7.0 +):

 

  • Parent{issuelinks.source}

or

  • Parent{issuelinks.destination}

 

Please refer to this article for more information: Aggregate Function Reference 

 

If any further questions, let me know.

Best Regards,
Dionathan 

Like # people like this

@Dionathan Lopes _ALM Works_ thank You, but no :)
As i said previously:
 I know, I can include epics into the structure and address to the attributes of parent, but it's not a solution in this case.

I just need to iterate throughout the collection of the links of the epic in order to find... something. And I will have no epics in my structure. I gave You a pic just to show You the dependencies between tasks.

AFAIR, we were told previously, that we could use dotted expressions, like:


this.property.property.property

Documentation says:

You can also string multiple property calls together:

project.lead.email

So, I just want to know, if the construction like:

this.epicLink.issueLinks

was excluded from this pattern and why this happened.


Thank You!

Hi @Mikhail Kouyantsev 

Thank you for the detailed information.

We would love to take a closer look at your setup.

Please send us a note to support@almworks.com or contact us through our customer portal: support.almworks.com

We look forward to hearing from you.

Best Regards,
Dionathan L
www.almworks.com

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you