The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to automate caculating incrementally a Date Picker field within linked issues?

Duc Anh Le
March 27, 2023

Hi all,

I have a requirement for incrementally caculating the date for issues with linked issues.

Details:

There are 3 fields named "Start Date", "End Date" and "Duration". User is only allowed to input Start Date and Duration in the beginning (Issue A). From that, End Date will be generated (sum of Start Date and Duration).

Whenever links to another issue e.g issue C, "Start Date" of issue C will be caculated based on "End Date" of A +1 and "End Date" of C is caculated based on "Start Date" of C + 4. So on for C links to E.

The diagram below illustrates the flow.

Screenshot 2023-03-27 160940.png

Is there any relevant scripts or ways to achieve this kind of requirement? 

Many thanks

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Ram Kumar Aravindakshan _Adaptavist_
Community Champion
April 1, 2023

Hi @Duc Anh Le

Quick question do you expect the Start Date and End Date alteration to take place only in one direction?

For example, if the outward link of A is C, i.e. A causes C, and only C is updated, will A not be affected?

Thank you and Kind Regards,

Ram

Duc Anh Le
April 3, 2023

Yes it takes place in one direction @Ram Kumar Aravindakshan _Adaptavist_ 

Kind regards,

Anh

TAGS
AUG Leaders

Atlassian Community Events