Please help create an automation rule

Hello,

Please advise what would be the code for the automation rule: "WHEN Task1 start date is within 7 days, THEN send an alert to Task1 Assignee." Thank you in advance.

3 answers

1 accepted

0 votes
Answer accepted
David A
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.
Feb 14, 2023

Hello @samantha_sharkov 

I think is more easy, you could use jql function StartOfDay(+7d)

Change Duedate for your customfield "Start Date"


jql test.png

I hope that helps!!

Thank you, David! Seems to work now.

Like David A likes this
0 votes
Karyna Tyrnavska _SaaSJet
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Feb 14, 2023

Hi, @samantha_sharkov !

As an alternative to Jira automation, you can set a reminder directly in the Jira issue with Boomerang: Reminders for Jira Issue

01F50B63-41F7-4A3E-AEB7-2F95C8A48503.GIF

Thanks, but no budget. ;)

0 votes
David A
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.
Feb 13, 2023

Hi Samantha

You could do this with a scheduler in automation.

Attach example:

example.png

Hope this help!

David A
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.
Feb 13, 2023

Hi again

You could change the JQL condition because it sends a comment all day which is wrong because I think you only want to notify once

Its better if you use the Advanced compare condition to check the start date and fire the notification.

https://support.atlassian.com/cloud-automation/docs/examples-of-using-smart-values-with-dates/#Comparing-two-dates

Best regards!

Like John Funk likes this

Hi David,

Thank you very much, but I am lost. I need very specific instructions with the written code. I don't know JQL. The documentation doesn't help because I don't understand it. Here is what I have right now and my rule is failing.

rule.pngrule1.png

Suggest an answer

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

Atlassian Community Events