Forums

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

Variable For Number Of Open Tickets

Jake_Adams
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!
August 9, 2018

Hi,

I'm trying to get it so when a customer submits a ticket, they get an automated email saying something along the lines of 'thanks for your ticket, we currently have X amount of tickets open and will deal with yours asap' 

Is this possible?

2 answers

0 votes
Mauricio Karas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 15, 2018

Hey, Jake.

For now, you could use ScriptRunner to run a post-function script in the "issue created" transition.

You can make API calls in that script, one to get the number of issues on the backlog, based on a JQL:

/rest/api/2/search?jql=project=<your_project>

And other to send the e-mail:

/rest/api/2/issue/{issueKey}/notify

Kind regards,
Maurício Karas

0 votes
Nabil
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 15, 2018

Hi Jake,

We have a feature request at https://jira.atlassian.com/browse/JSDCLOUD-4782 for adding more variable. You can comment on the fields you would like to be available and cast a vote on it to increase issue visibility.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events