Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
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

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
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 16, 2022

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
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.
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!

Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 16, 2022 • edited

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
AUG Leaders

Atlassian Community Events