Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how to run groovy scripts and post functions in script runner

Lavanya Sreeramdas
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!
April 14, 2023

how to execute groovy scripts along with post functions

2 answers

2 accepted

0 votes
Answer accepted
Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 14, 2023

Hi @Lavanya Sreeramdas Welcome to Atlassian Community!
Kindly check this document of creating Scripted Post function using Scriptrunner :- https://docs.adaptavist.com/sr4js/latest/features/workflows/workflow-functions-tutorial/post-functions-tutorial


0 votes
Answer accepted
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 14, 2023

Hi @Lavanya Sreeramdas and welcome,

please add Scripted Postfunction provided by ScriptRunner and put there your groovy code

Immagine.png

Hope this helps,

Fabio

Suggest an answer

Log in or Sign up to answer