How can adding scripting to your workflows help automate business workflows in JIRA?

Chad Larkin July 14, 2011

Recently we had to answer this question at Toolbox.com. One of our developers using a Jelly listener and Groovy scripting has accomplished an amazing task. By using a Jelly listener for new tickets to a particular project to do a workflow transition to start progress, he then uses a post script function to call a groovy script in script runner to automate all the tasks that need to happen with that ticket and then close the ticket.

He has written an outstanding blog about the process here: http://it.toolbox.com/blogs/devnull/groovy-development-in-jira-47311

The effort put into both doing the work and providing the information about the process is absolutely worth sharing. I hope this helps someone else out with the work they may have ahead of them.

2 answers

1 accepted

0 votes
Answer accepted
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 14, 2011

Hi Chad,

Nice write-up. On the blog theme, I occassionally write stuff up about scripting workflows, for example this one: Auto-transitions in JIRA Workflows

I know of a few companies that have heavily scripted workflows, and always keen to hear about anyone using groovy or scripting in general. There is a lot of docn on atlassian plugins using the maven sdk, however I think scripting has all of the power of plugins but is a lot more accessible to people who aren't necessarily programmers. So, personally I've love to see scripting get more publicity.

cheers, jamie

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 14, 2011

And another post on deleting issues in a workflow function - courtesy of Tobias Geyer.

Suggest an answer

Log in or Sign up to answer