Automation with data

Elena Bertucco
Contributor
February 3, 2025

 

In an automation I would like to insert that the expiry date is changed automatically. The due date should always be 15 May but with the current year (which will then change from year to year) I have tried some formulas which do not give me any errors but still do not change the date

2 answers

0 votes
Vishal Biyani
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.
February 3, 2025

@Elena Bertucco 

can you also share the trigger point for your rule?

is your use case is expiry date and due date same?

What values would you like to populate for Start date and Completion date in your automation? Currently those are blank as per the screen shot

Elena Bertucco
Contributor
February 3, 2025

Screenshot 2025-02-03 122039.png

My expiry date is one month after the trigger date.

The start date and completion date blank because i want the automation to delete all the information in those fileds. THose fields will be completed be the user in a second time because they are always different

Vishal Biyani
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.
February 3, 2025

@Elena Bertucco 

You can create a smart variable say dueDate and set to {{now.withDayOfMonth(15).withmonthOfYear(5)}}

snip.png

When you do edit issue, which ever field you want to set to, use {{dueDate}}. That should work.

snip.png

Also, in your schedule, hope that you are specifying JQL to filter out records

 

 

 

0 votes
Fazila Ashraf
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 3, 2025

Hi @Elena Bertucco 

Can you give screenshots of your current automation implementation to suggest you changes?

Elena Bertucco
Contributor
February 3, 2025

Hi,

This is my current formula:

Screenshot 2025-02-03 105604.png

 

Fazila Ashraf
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 3, 2025

Can you try -> {{now.withDayOfMonth(15).withMonth(5)}}

Suggest an answer

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

Atlassian Community Events