Run a ScriptRunner groovy script as an Action from Project Automation?

Matthew Harkins August 12, 2019

It would be really convenient if we could run a ScriptRunner groovy script as an Action from Project Automation.  Then we wouldn't need to build new transitions specifically with a post function for that step.

Is this something that could be added to the plugin?

2 answers

1 accepted

2 votes
Answer accepted
Steffen Opel _Utoolity_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 12, 2019

Hi Matthew,

This is already available, as of release 5.3 ScriptRunner provides an action for Automation for Jira that "lets you run your own code":

automation for jira

At this stage the only function available is a "custom script", but you can call other ScriptRunner functions programmatically.

A few other apps also provide such actions meanwhile, refer to section 'Atlassian ecosystem integrations' in the Automation for Jira third party extensions documentation for details.

Cheers,
Steffen

Matthew Harkins August 12, 2019

Thanks for pointing this out.  I'm not sure why, but that option wasn't showing up for us.  I updated the plugin to the latest version and presto, it was available.

0 votes
grafra_PASS
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 14, 2023

The answer from  Steffen assumes that ScriptRunner is installed.
Is there also a possibility to do this without the script runner

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events