Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Structure - Mining history records - catching a single field change when multiple fields are changed

Brandon Toms
Contributor
November 29, 2024

Hey all you Structure gurus!

So I'm trying to use a Structure formula to catch history records of the status changing from Closed to Open on a story.  However, with this syntax:

history.FILTER($.changes.field = "status")

If multiple fields are changed in the same change, that conditional resolves to FALSE.  So I'm not able to catch things like stories going from Closed to Open, because the resolution field is changed in the process.

image.pngimage.png

Any idea how I can get that conditional to resolve as TRUE?  Do I need another filter?

Thanks in advance,
Brandon

2 answers

1 accepted

Suggest an answer

Log in or Sign up to answer
2 votes
Answer accepted
Brandon Toms
Contributor
November 30, 2024

Actually I figured it out! This syntax worked:

history.FILTER($.changes.field.contains("status"))

hopefully this helps somebody down the road.

2 votes
Valerie Knapp
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 30, 2024

Hi @Brandon Toms , thanks for your question. 

I tagged the vendor into this post but in the meantime, I normally suggest to check out the app documentation or contact the vendor directly to ask for this type of support if you're not getting anywhere on your own. 

https://help.tempo.io/structure-dc/latest/ 

https://marketplace.atlassian.com/apps/34717/structure-by-tempo-jira-portfolio-management-ppm 

Hopefully tagging the app will help get some more eyes on this for you too. 

Best wishes

Brandon Toms
Contributor
November 30, 2024

Thanks! Managed to figure it out last night, just posted the solution. 

Like Stepan Kholodov _Tempo_ likes this
TAGS
AUG Leaders

Atlassian Community Events