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,556,800
Community Members
 
Community Events
184
Community Groups

How can I set the a date of an issue based on the earliest/latest date of related issues?

I'd like to:

  1. Take a main issue
  2. And when it's sub-tasks or linked "is blocked by" issues have a field change on "Start Date" or "End Date"
  3. Find the earliest "Start Date" and latest "End Date" of these issues
  4. Apply the Earliest Start Date and Latest End Date to my main issue

Is this possible?

1 answer

Hi @stringsonfire,

 

Sure, it's possible but you need to change the way you think about this. you will probably need to split the sub-tasks and the "blocked by" issues.

Your trigger should be "field value changed" for "start date", "end date".

filter for "sub task" types only.

then use "if-else" filtering

on the first if: add "Advanced compare condition" and compare {{issue.parent.start date}} greater than {{issue.start date}}.

if it passes, add a "branch" to "parent" and then add "edit issue" action to copy the start date from the trigger issue.

Then use "else" to check for "end date" the same.

If it works - create a 2nd automation for blocked issues (you can probably merge the 2 automation but it will require much more filtering)

That should work. Good Luck!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events