Forums

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

Automation to send an Email if number of Unassigned tickets are more than 10

Rajat Bhattarai August 20, 2023

Hi Team, 

 

I was wondering if someone could answer my query. I am looking to apply automation that will send an email if the number of Unassigned tickets is more than 10. 

Has anyone done this before? I managed to create a jql , i.e PID=XX, and Assignee=Empty but can't find a way to add the value for it. Any help will be much appreciated. 

2 answers

4 votes
Serosoft Jira Administrator
Contributor
August 20, 2023

Hi @Rajat Bhattarai Please follow these steps:

1. Create a "Scheduled Automation" which may run say everyday 9 am

2.  Add Component->Add an Action->Lookup Issues

3. Use JQL like "project ="xxx" and assignee is Empty

4. Add a condition->Advance Compare Condition->{{lookupissue.size}} ->Greater than->10

5. Add an Action->Send Email

 

Let me know if it helps. If you wish I can explain further. 

Rajat Bhattarai August 22, 2023

Hey Sudhendu, 

Thank you for your reply. But I am having a problem getting this to work. 

I have this condition in place, 

(project in (XXX)) AND (assignee is Empty) AND ( statusCategory != Done)

and Advance compare is 

{{issue.size}} is greater than 10. 

 

The problem is, it is not sending me an email after that condition is met. 

If I get rid of 1 bracket on "issue.size", as in like this {issue.size} , it will send me email every scheduled time no matter the condition but when I implement the one you suggested, it doesn't send me any email at all. Any ideas?

1 vote
Sanjog Sigdel
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 20, 2023

Hello @Rajat Bhattarai Welcome to the community.

You can trigger an email when you have unassigned tickets to a certain numbers. All of these are configurable:-

Screenshot from 2023-08-21 12-20-20.png

 

Hope this is useful.

Rajat Bhattarai August 22, 2023

Capture.PNG

Sanjog Sigdel
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 22, 2023

Hi Rajat,

Somewhere below the JQL fetching action these should be a checkbox. It indicates whether to fetch the entire results again or fetch only the latest results from last execution. Is that the missing part? Your Automation rule looks fine from what you have mentioned 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, atlassian community, journeys for jira service management, journeys for jsm, eap jsm atlassian, early access program atlassian, early access program journeys atlassian, early access program journeys jira service management, join atlassian eap

Join the Early Access Program (EAP) - Journeys for Jira Service Management 🚪

Journeys is a brand new feature in Jira Service Management that helps you streamline various processes in your organization that may cross multiple departments, such as employee onboarding or off-boarding that require action from different teams. ✨

Join the EAP →
AUG Leaders

Atlassian Community Events