Forums

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

Execute an Insight Groovy script

Anna Protopapa
Contributor
August 19, 2021

We need to run a custom insight script and we followed the steps:

1. Create the script file with filename "insight3.groovy" with only one line "log.info("Test");"

2. Save the file to "home\atlassian\jira\bin\Insight"

3. Go to "Whitelist Configuration" and add the file "Insight/insight3.groovy"

4. Create a post function (An Insight Groovy script will be executed) with File Path "Insight/insight3.groovy"

It does not work. Can you see what we do wrong?

Thank you

1 answer

1 accepted

1 vote
Answer accepted
Anna Protopapa
Contributor
August 19, 2021

The problem is that log.info("XXX") does not work but log.warn("XXX") works!

Suggest an answer

Log in or Sign up to answer