Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Want to transition tickets from Archive to To Do if start date is 7 days from today?

Automation Logic.PNGRule Logic.PNG

 

 

Here is what I have so far. Also tried - {{now.diff(issue.startdate).days}}<=7. Please advise. 

 

Thank you. 

1 answer

1 accepted

1 vote
Answer accepted
Bill Sheboy
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.
Oct 26, 2023

Hi @Abhay Kulkarni 

Have you tried updating your JQL, to add the status condition, and remove the condition from the rule?  For example:

project = yourProjectName AND "Start date[Date]" <= startOfDay(7d) AND status = "Archive"

Then the rule will only run when there are issues to process.

Kind regards,
Bill

Hello Bill, thank you for your response. That did not work either. Any other ideas? 

Bill Sheboy
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.
Oct 27, 2023

When you note "that did not work either", what did you observe happening?

And please post your current, complete rule so we can compare your changes to what I suggested.

Followed your earlier suggestions on the query and removed the condition in the rule : 

JQL Query - project = "Test" AND "Start date[Date]" <= startOfDay(7d) AND status = Archive

 

Ran the rule but the issue with a start date of 10/30 did not transition over to TO DO. There are no errors in the log. 

 

JIRA 3.PNG

Bill Sheboy
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.
Oct 27, 2023

Please post an image of the audit log details showing where you ran the rule.

And, if you run that JQL stand-alone, in View All Issues search, does it return anything?

 

Yes, I get the tickets with a start date that is more than 7 days out. when I run the query by itself.

 

In the Audit logs, dont have a Failure or a Success Message, just the config change. I ran the rule within the Test Board -> Automations. 

jira 4.PNG

Bill Sheboy
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.
Oct 27, 2023

I do not see the rule run shown.

Did you select "Run rule" from the editor to force it to run now, rather than waiting for the schedule?

Yes sir. I did. 

Bill Sheboy
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.
Oct 27, 2023

Then why does it not appear in the audit log for this rule?

I had the rule disabled! My bad. Thank you for your help, Bill :) 

Like Bill Sheboy likes this
Bill Sheboy
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.
Oct 27, 2023

I wish Atlassian would disable that button when rules are disabled  :^)

Indeed! Or at least a pop up letting the user know to enable the rule before testing it out.  

Suggest an answer

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

Atlassian Community Events