Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Groovy Script to create Jira Workflows with conditions, validators and postfunctions

Deleted user May 8, 2019

Hi all,

 

I'm trying to create a workflow from groovy script in order to replicate it multiple times. Is there anyone that has already do this ?

Thanks in advance.

1 answer

0 votes
Bhushan Nagaraj
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 8, 2019

@[deleted] , if you are using ScriptRunner, this is available as a built-in post-function script. Please take a look at the documentation at https://scriptrunner.adaptavist.com/5.4.47/jira/builtin-scripts.html#_clones_an_issue_and_links

Cheers

Bhushan

Deleted user May 10, 2019

Hi Bhushan,

 

I need to move the same WF from a Jira instance to another without replace manually all ids (maybe others activities) and with all customization Jira's built-in and generated using plugis (i.e. groovy scripts with JMWE or ScriptRunner).

Are there a solution ?

I also need a method to automatically create screens and relative screens.

Thanks.

Alessio

Bhushan Nagaraj
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 12, 2019

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events