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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,464,911
Community Members
 
Community Events
176
Community Groups

how to create a script with "start date" triggers a issue to move statuses when it passes 9 months

I'm trying to figure out how to automate JIRA automation to move a issue from one status to another status when the custom created field is either past 9 months or when it is older than 9 months. 

I'm currently trying to use the automation built in configuration of a "Scheduled" script under "All Components" in the project's settings>automation>scheduled

"Start Date" >= "-270d" for the filter under scheduled

How do I write or perform the "IF" statement/control to move a issue that meets the requirement above to another status?

 

2 answers

2 accepted

1 vote
Answer accepted
Trudy Claspill Community Leader Nov 26, 2022

@Matthew Nico 

Can you provide an example with dates for each of your stated conditions?

is either past 9 months or when it is older than 9 months. 

To me those sound like the same thing.

Your operator is incorrect if you want to find issues that are older than 270 days. It needs to be

"Start date" <= -270d

That's exactly what I needed along with the other comment. Thank you!

1 vote
Answer accepted

You can just add an action after that.

The schedule will already do the filter, so the action will be done on everything in that filter.

Thank you! I just needed to dive deeper into the GUI.

Like Jimi Wikman likes this

Happy to help :)

Suggest an answer

Log in or Sign up to answer