Forums

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

Jira ScriptRunner Script Listener Event Issue updated not triggering when logging time

Mario
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!
July 4, 2022

Hello,

I am writing a script that should run when any issue of a specific type is updated. It does run as expected for every update (changing the order of the issues in the board, updating the original estimate, updating the title/description etc.). However, when logging spent time on an issue neither the script nor the condition runs. There are also no thrown errors and nothing in the logs. It seems the Issue updated event just does not trigger.

Do I need to use a different event? I thought this change would also trigger the issue updated event as it is a field just like the original estimate.

Kind regards
Mario

1 answer

0 votes
Mario
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!
July 11, 2022

For anyone reading, I solved it using the Worklog updated event and removing the condition. My script needs to run whenever an issue or worklog ist updated, deleted or created. Using all these events together works now. Before the condition would just not run. My workaround for now is checking the condition manually in the script.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events