Forums

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

Insight Automation - link to groovy script

Tatyana Lukyanchikova
Contributor
July 2, 2020

Hi!

I want to run script (from Script Runner) in Insight Automation (when object updated).

I try to set up the link to script using that path: /var/atlassian/application-data/jira/scripts/basics/insight/insight_changed_user.groovy (basics and insights are folders)


But that script is not running (the only thing it should do right now - writing phrase in log, it's working from console) even when automation rule works (i run it only on event without any condition).

Is that path wrong? Or is there other reason?

Thanks for your attention.

2 answers

1 accepted

2 votes
Answer accepted
Tatyana Lukyanchikova
Contributor
July 2, 2020

It works - logging didn't work. 

Anna Protopapa
Contributor
August 19, 2021

log.info("XXX") does not work but log.warn("XXX") works!

0 votes
Shubhangi Dixit
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!
May 24, 2023

Hi Tatyana Dakukina, Can  you advise what did you change to have this issue fixed. I am facing the same issue and that info/warn change also did not work

Tatyana Lukyanchikova
Contributor
May 30, 2023

Hi!
Do you check insight-automation log? I looked into atlassian-jira log and that was my mistake.

Suggest an answer

Log in or Sign up to answer