Forums

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

Structure formula for showing links to multiple projects?

Dan Giordano January 31, 2024

Hi.  I'm starting to learn about Structure, but I am not a programmer, and I know zero about Structure's formula language.  Our installation is on-prem and not the cloud version.

I work with a Structure board which shows issues for an organization with Features linked to Stories in a parent-child relationship.  Each dev team has a distinct Project for their work.

I'm hoping someone can demonstrate a way to count the number of distinct Projects the Stories are created under which are linked to a specific Feature, such that I can easily identify Features with two or more dev teams working on linked Stories so that we can identify when efforts need to be coordinated.

 

Thanks in advance.

1 answer

0 votes
Stepan Kholodov _Tempo_
Community Champion
February 1, 2024

Hello @Dan Giordano 

If you have Features and their respective linked Stories under them and you want to show projects of linked Stories(and show them on for each parent feature), then you can try it with a formula like this:

if issuetype = "feature": array(join#strict{project}).unique()

The formula will extract projects from Stories and show them as a string for each Feature without duplicating the names.

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 and we'll get back to you shortly.

Best regards,
Stepan
Tempo (the Structure app vendor)

Dan Giordano February 12, 2024

Closing the loop here:  I did open a ticket with Structure support and to make a longer story short, the formula which helped me was:

if issuetype = "feature":
values#children{project}.size()

Like Stepan Kholodov _Tempo_ likes this

Suggest an answer

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

Atlassian Community Events