date automation

pushpa punglia August 11, 2022

Please help I want to have an automation rule which fix my due date based on priority and start date.

suppose start date is before 1 july 2022 and

if priority is high, due date is X date + 3 month,

if priority is med, due date is x date + 6 month.....

 

or start date is after 1 july 2022 and

if priority is high, due date is y date + 3 month and so on.

Thanks 

1 answer

1 accepted

1 vote
Answer accepted
Tansu Akdeniz
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 12, 2022

Hi @pushpa punglia 

Welcome to the community.

In automation, you can use smart values to handle this issue.

Sample; {{now.plusMonths(3)}}

Please check this doc for further details: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-date-and-time/#Smartvaluesdateandtimefunctions-Example.6

pushpa punglia August 12, 2022

Thanks @Tansu Akdeniz,

I have to use fix date + 3 months that the current date + 3 months and so on. So looking if there is way to use date(any) instead of {{now}}. or can assign  value to {{now}}.

Tansu Akdeniz
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 12, 2022

So you want to define a fixed date? It is also possible to use issue due date like; {{issue.duedate.plusMonths(3)}}

pushpa punglia August 12, 2022

I want

due date = 1/07/2022 + 3 month, if priority = high

or due date = 1/7/2022 + 6 month, if priority = medium

or due date = 1/7/2022 + 9 month, if priority = low

Suggest an answer

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

Atlassian Community Events