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

Next challenges

Recent achievements

Recognition

  • Give kudos
  • My kudos

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Community showcase
Asked in Jira Service Desk

Calling all Insight users, we need your help!

Hello Insight users,  As part of our (Mindville's) acquisition by Atlassian, our training team is looking to build some new Insight training materials. It would really helpful if you can ...

166 views 1 1
View question

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you