How to have the AutoTransitionListener listen to all projects in a given category

Greetings all,

I am using JIRA to provision my client support system with one support project per client. The clients are never assigned the issues (the support agent always owns it), and they do not have permission to transition issues.

What I am looking for is how to implement something similar to the auto-transition listener of the JIRA Toolkit, but instead of on a per-project basis, rather do so on a per-project-category basis (because each client has their own support project, and having 300ish listeners is probably a bad idea).

Essentially:

If state="Waiting for Client" AND lastCommented is in group 'client'
Then execute transitionID 41

Any thoughts?

1 answer

1 accepted

I figured it out!

Use the Escalation Service provided by Scriptrunner with the following config

Description: CC Projects Auto Transition Waiting for Client -- SSI Investigating if last commented is by client
Interval: 30
JQL: category = "CC Projects" AND status = "Waiting for Client (SSI)" AND "Last Comment by User?" = "true"
Action: 41 Send Comments to SSI

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

239 views 1 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you