How can I find the earliest date a Jira changed status (preferably by a certain group of users)

Brandon Toms
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!
December 11, 2023

Greetings, Jira friends!

I'm trying to create a custom structure board formula that returns the earliest date that someone in a group of users changed the status of a ticket.  Here's what I got so far:

history.changes.FILTER($.field = "status" AND (
$.author.name = "Brandon"
OR $.author.name = "Greg"
OR $.author.name = "David"
)).MAP($.created).MIN():

However this doesn't work.  It seems that I can't get a date from a change item.  I was able to do something similar with comments that WAS successful:

comments.FILTER(
$.author.name = "Brandon"
OR $.author.name = "Greg"
OR $.author.name = "David"
).MAP($.created).MIN():


Can someone help with this formula?

Thanks in advance! 

1 answer

1 vote
Stepan Kholodov _Tempo_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 21, 2023

Hello @Brandon Toms 

You can try this formula:

history.changes.FILTER($.field = "status" and ($.changegroup.author = "Brandon" or
$.changegroup.author = "Greg" or $.changegroup.author = "David")).changegroup.time.min()

I hope this helps. If you need further assistance or help with anything else in 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)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events