Forums

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

Is Script Runner behavior stored in file system?

Sravya Vuggina
May 20, 2019

We are trying to access behavior script from an application outside Jira.  Having a hard time finding the script file. Would like to understand if it is even feasible to access outside Jira.  Any help in understanding the storage and accessibility of behavior script is appreciated. 

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
2 votes
Answer accepted
Normann P. Nielsen (Netic)
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 Champions.
March 29, 2020

targetStepId = actionDescriptor.getUnconditionalResult().getStep()

StepDescriptor targetStepDescriptor = workflow.getDescriptor().getStep(targetStepId)

targetStepName = workflow.getLinkedStatus(targetStepDescriptor).getName() 

log.info "Script=" + scriptName + " ScriptRunIdent=" + scriptRunIdent + " Message='Target Step Status: " + targetStepName + "'"

Alex
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!
October 18, 2022

Thanks!

TAGS
AUG Leaders

Atlassian Community Events