Forums

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

Eazybi Measure : Name of latest sprint

Kris Dewachter
Community Champion
October 21, 2024

Hi,

 

Jira issues can be assigned to multiple sprints. I want to create a measure that shows the latest sprint an issue has been assigned to. 

The sprints are displayed in the "Issue Sprints" measure. 

Screenshot 2024-10-22 at 08.54.37.png

I was thinking of just getting the last value in the list. Or maybe getting the sprint with the hightest ID (assuming that is the one created last). 

I don't care if the sprint is active, in progress or closed. And since not all sprints have a start- or end date, i also can not use that to determine the last one.

Any idea's on how to get the last values in the sprints list?

Thank you and best regards,

Kris

 

2 answers

Suggest an answer

Log in or Sign up to answer
0 votes
Kris Dewachter
Community Champion
October 23, 2024

Hi @Gerda Grantiņa ,

Thank you for your assistance.

Unfortunately, the "Issue Sprint" measure is mostly remaining empty, even when the "Issue Sprints" value contain multiple sprints.

Screenshot 2024-10-23 at 15.33.21.png

Based on the records that actually have a value, it's my understanding the "Issue Sprint" only contains active sprints. 

So for example, for the last line in my screenshot, "Issue Sprint" is empty because "Sprint 3" and "Sprint 4" are closed and no longer active.

As stated, I want to display the last sprint, regardless of it's status, start- or end-dates.

Would it be possible to extract that from the "Issue Sprints" field (ex. last value in the list) ?

Best regards,

Kris

 

 

Kris Dewachter
Community Champion
October 25, 2024

Hi @Gerda Grantiņa ,

After some more investigation, it seems like this was only going to work with creating a new custom field via the Jira import, and extracting the sprint value via Javascript.

 

So i created this, and this seems to return the value i need.

 

Screenshot 2024-10-25 at 16.25.08.png

 

Best regards,

Kris

 

 

0 votes
Gerda Grantiņa
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 22, 2024

Hello @Kris Dewachter ,

Instead of trying to extract the latest sprint from the "Issue Sprints" list, I would recommend using the "Issue Sprint" property (singular form). This property shows the current sprint to which an issue is assigned, which is effectively the latest sprint.

Using "Issue Sprint" will give you the information you need without having to create any complex measures or formulas to parse the full sprint list.

Kindly,

Gerda // support@eazybi.com

TAGS
AUG Leaders

Atlassian Community Events