START DATE

Nadja Freitas October 21, 2021

How do I make for the DUE DATE to be X days after start date

1 answer

1 vote
Suvradip Paul
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.
October 21, 2021

Hi @Nadja Freitas ,

Thanks for posting and welcome to the community.

Is that X days fixed for that specific issue?

Nadja Freitas October 21, 2021

 

Hi.

Yes.

Nadja Freitas October 21, 2021

{{startdate.plusDays(120)}} doesn't work

Ismael Jimoh
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.
October 21, 2021

Is your start date a custom field?

If yes, you still need to pull it by the {{issue.[customfield].plusDays(120)}}.

I am not sure what your aim is but I will consider a plus businessdays instead of the normal days.

This would be the way I will consider going here.

Like Nadja Freitas likes this
Nadja Freitas October 21, 2021

due date has not changed. 

thanks for the help!

Ismael Jimoh
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.
October 21, 2021

I tested this with a custom field called My Start Date.

The following is my configuration.

Screenshot 2021-10-21 at 18.24.06.png

Sorry you do not need the {{}} around the custom field. It should be similar to the above to work.

Nadja Freitas October 21, 2021

Would be for the subtasks... 

I'm sorry, I didn't quote you before.

Nadja Freitas October 21, 2021

My item already has automated start date (now) and due date. In subtasks I would like to select (manually) the start date and due date go automatic. {{plusDays(120)}}. I thank you very much

Ismael Jimoh
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.
October 22, 2021

@Nadja Freitas you can then use the field updated event rather than the issue created as your trigger.

The rest of the step would be the same because in my case, I used issue created and set the field value based on this.

The setting part stays the same, you just need to change your trigger.

Regards.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events