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,467,302
Community Members
 
Community Events
177
Community Groups

How to create an automation based on a filter?

Hello, 

I would like to use jira automation for a case when the issues are under a filter which contained a specific status of the board + a date (7 days after a date mentioned in a field).

When tickets are under this status, I want to close them automatically.

I have 2 hints but I wasn't able to do it:

1/ It seems I couldn't select a trigger like "Issue filtered" so that I can select my filter mentioned above and then choose the transition from the current status to closed.

2/ If I use the condition status = my_status and the date in the field X is after 7 days ago, then what trigger should I use?

Thanks for your help in advance.

1 answer

0 votes

Hi @Fanny Godin ,

welcome to the Atlassian community!

Reading your requirments, in my opinion, you should put in place some job that periodically run in order to do what you need.

ScriptRunner for cloud provides what you need https://scriptrunner-docs.connect.adaptavist.com/jiracloud/scheduled-jobs.html

Hope this helps,

Fabio

Rob Horan Community Leader Mar 16, 2022

Scriptrunner is also $$$$$ and can require scripting skills.  Just a thought.

Hi Fabio,

Thanks for your answer.

Seems like it will work using the trigger "Scheduled" then. But I'm wondering if I have to add conditions or if JQL search (inside the trigger) will be sufficient.

Update: It works using Scheduled trigger with the addition of the JQL query!

Yes, I know :) Sorry but I missed notification about your previous comment. Please @Fanny Godin , mark my answer as accepted

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events