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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,555,975
Community Members
 
Community Events
184
Community Groups

Get latest sprint end date from a group of stories

Michael Byers
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!
Apr 18, 2023

Running latest version of Jira DataCenter.

This is a good starting point: How to update a story's target start and end dates based on the sprint dates using Jira Automation | Jira | Atlassian Documentation

But trying to get the latest sprint end date from a group of stories in an Epic. Reading a single date works, but adding the date.max does not work:  {{issue.sprint.last.endDate.jiraDate date.max}}

1 answer

0 votes
Bill Sheboy
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.
Apr 18, 2023

Hi @Michael Byers -- Welcome to the Atlassian Community!

First thing, I am using Jira Cloud, not Server/Data Center, and so my answer is based on what I know about automation rules.

The Server/Data Center version has the ability to bulk-handle issues for a branch or scheduled trigger with JQL: https://confluence.atlassian.com/automation/run-a-rule-against-issues-in-bulk-993924653.html

When you do that, the {{issues}} smart value is available to try to find the latest (last) one.

Kind regards,
Bill

Michael Byers
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!
Apr 19, 2023

Also tried with {{issues}} (which does return the set) but date.max does not seem to work with sprint dates.  For now, I added another IF comparison to keep the largest date in a temp variable.

Bill Sheboy
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.
Apr 19, 2023

Perhaps also try these expressions to check the date without text formatting as jiraDate:

{{issues.sprint.last.endDate.max}} to check one sprint value per issue, or

{{issues.sprint.endDate.max}} to check all possible sprints for each issue (in case issues were in multiple sprints.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events