You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello,
I am trying to create an automation that will allow me to look at all linked child User Stories of an Epic and then set the "Target start" (custom field for portfolio) of the Epic based on the earliest created date of the User Stories.
Example:
Target start = Blank (Epic)
Epic Child Issues:
User Story - Created 4/19/2023
User Story - Created 4/18/2023
I want the ability to set the Target start of the Epic to = 4/18/2023 - which is the earliest create date of a child user story under it.
I created a flow that does the following:
1. WHEN: Trigger when item is updated
2. IF: Issue Type = Epic
3. AND: Compare two values
{{#if(equals(issue.customfield_10115,null))}}TRUE{{/}}
EQUALS
TRUE
4. THEN: Edit Issue Field
{
"fields": {
"customfield_10115": "{{issue.subtasks.created.toDate("yyyy-MM-dd").min}}"
}
}
But I get an error each time that says: