Forums

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

Use a ScriptFile as Template

tobbk
Contributor
February 17, 2018

Hello,

it is possible to use a Scriptfile as a template and extends this script in the inline script?

For example:

I want to add watchers to an issue. In one workflow it's a group in another it's a role. So I would use a "standard" script for the main function and for the specific conditions I use the inline script.

 

Thank you

1 answer

1 vote
Ivan Tovbin
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.
February 17, 2018

Check out this article. It has some tips on creating script files with common code.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events