Where to see the log.error(),

Anubhav.Agrawal December 4, 2019

I am new to Jira,  currently in my Jira Post function script I have added log.error(), now I want to check what error it has thrown,

 

how Can I check the same ???

2 answers

1 accepted

0 votes
Answer accepted
Anubhav.Agrawal December 6, 2019

we can check this in Jira postt script

 

1. Click on last execution of your script when editing the workflow

2. It will show you all the logs which ever you have write for the script 

1 vote
Dar Kronenblum
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.
December 4, 2019

Hi @Anubhav.Agrawal ,
you should see the log in the atlassian-jira.log file under the folder:
/var/atlassian/application-data/jira/log/
you can also access i using scriptrunner built-in scripts->view server log files

Suggest an answer

Log in or Sign up to answer