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

Eban Tomlinson August 28, 2013

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

0 votes
Answer accepted
Eban Tomlinson August 29, 2013

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