Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I alert the team when a ticket spend too much time in a column

Sandra Kabamba April 27, 2021

Hello, 

 

I would like to create an alert on slack when a ticket stays more than 2 sprints in the column the team must be alerted in a Slack channel (with an exception for To do and Done). 

 

How should I set my automation? 

 

Thanks

2 answers

1 accepted

1 vote
Answer accepted
Trudy Claspill
Community Champion
April 27, 2021

Hello @Sandra Kabamba 

Welcome to the community.

There is nothing native in JIRA Cloud that you can access that will tell you when a card was moved to a column/status. You can access the StatusCategoryChangedDate field via JQL queries to find out when an issue last changed Status Category.

(All Status values are assigned to a Status Category - To Do, In Progress, or Done. But you may have multiple statuses that belong to the In Progress category, and each of these might display in a different column in your board.)

If it is not a requirement to post the information to Slack, you can simply create a Saved Filter and then subscribe to the filter to get it sent to you periodically via email.

Otherwise, you can set up a scheduled task like this to check the StatusCategoryChangedDate:

Screen Shot 2021-04-27 at 9.58.06 AM.png

This page says how to incorporate sending a message to Slack in a JIRA automation rule:

https://support.atlassian.com/jira-core-cloud/docs/use-automation-with-slack/

 

If you must have the notification based on the Status, rather than the Status Category, being unchanged, you may have to look at a third party app from the Marketplace.

Sandra Kabamba April 28, 2021

Thanks a lot !! 

 

I would also like to create a JQL request so we're also alerted when a ticket is not replied to.

example: I tagged Jack because I need him to check on something but he has not replied in the last 24h so automation sends me a notification). 

 

I get that I have to create an automation rule to receive the notification but how to structure my query? 

Trudy Claspill
Community Champion
April 28, 2021

Hello @Sandra Kabamba 

That is quite a different problem to solve than the one in your original post. Please start a new post so that the community is aware of your new question. Other members may have already solved that, but may not realize you need help on it since it is buried in an unrelated post/topic currently.

Sandra Kabamba April 29, 2021

Alright, Thanks Trudy

Rory Mcgee
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 8, 2022

@Sandra Kabamba can you post the new thread link here so I can follow?

Trudy Claspill
Community Champion
February 8, 2022

You could click on Sandra's name to see her post activity and find it there. That's how I found it:

https://community.atlassian.com/t5/Jira-Software-questions/Create-an-alert-automation-when-ticket-stuck-in-a-column/qaq-p/1874653

Like Rory Mcgee likes this
0 votes
Josef Finkl
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 16, 2023

You could use the following to get the tickets.

```

project = <project> and status in (<status>) and status changed BEFORE -2d

```

Suggest an answer

Log in or Sign up to answer