Why Atlassian Support uses the Jira Automation plugin

Within our support system, we face quite a few tasks that could be made easier with some kind of automation/scripting layer.

Just to mention some examples: Imagine we do not receive a comment on an support ticket for more than 14 days. Can we close the issue? Does our customer need any further help? After we suggest a resolution, we often are interested about the quality of our service, so we invite customers to a survey to help us understand and improve our support in general. Finally, if a customers comments on a support ticket, we’d like to automatically reopen it and assign it to the last assignee to ensure the customer gets the fastest help possible.

These are just a few tasks which Jira administrators might be asked to help automate. There are different approaches to this, such as Jelly script runner, Groovy plugin, or Auto-transition listener plugin. All of these approaches address only one part of the problem, and tend to be a high-maintenance burden to the administrator, and are difficult to configure and extend. These are just some of the reasons for developing Jira Automation plugin.

What is the Jira Automation plugin?

At this point, it is our answer to automating tasks in our support hub. We have been using it for roughly six months and have decided it’s worthy of sharing on the Atlassian Marketplace. It’s not officially supported, but the source code is open to the public and we hope it can be useful for other people. These were our main goals we wanted to achieve in this plugin:

Other requirements:

What can it currently do?

At this point, we have fully implemented and battle-tested following triggers:

 

JQL filter trigger will execute JQL at certain time
Issue event trigger will be triggered by configured issue event

 

After the trigger finds any issues, one or more actions can be performed. These are currently bundled:

 

Comment on an issue
Edit an issue
Transition an issue
Assign an issue to the last commenter
Multiple actions (Comment and Edit Issue)

 

In action…

To see it in action take a look at this video demo:

Open for extension: Write your own triggers and actions!

The automation plugin is fully extensible in the sense that you can easily create your own triggers and actions in your plugins.  Here’s a small example of creating an action to update a reporter’s profile. Whole source can be found here.

A follow-up post, regarding extending this plugin, can be found here.

Exit mobile version