Forums

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

Script-Runner: "Issue updated" not triggered for sub task.

Marcus Krejpowicz August 7, 2020

Hello

I am using Jira Cloud and I was trying to add a adaptavist script listener which sums up all time estimates of the parents subtasks and writes it back to the parent but I've noticed that the "Issue updated" event is not fired for sub-tasks.

Is there a special setting that will enable events for subtasks or is it not possible?

 

Kind Regards

Marcus

1 answer

0 votes
Nic Brough -Adaptavist-
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.
August 8, 2020

What are you doing to the sub tasks that avoids firing issue updated?

Marcus Krejpowicz August 8, 2020

I changed the description and the original estimated time.

For normal issues it is fireing, but not for sub tasks. 

Stephen Jackson
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!
August 26, 2020

Actually Marcus, I ran into the same issue myself but just realised the issue is a little different. Although i initially believed that the "Issue Updated" event was not firing when time was being logged to a Sub-task, I just found out that the issue does fire - it just takes a really long time.

For me, if i update a normal task, the processing of the event completes in under 20s. If i make the same change to a sub-task, the event doesn't appear to trigger for around 5 minutes - which is more than enough time for me to blame my own script for not catching/handling the event properly and then not noticing that it has fired.

Perhaps that same thing is happening for you? Personally I would still typify this behaviour as being a bug ...

Marcus Krejpowicz August 27, 2020

Hey Stephen, thank you for pointing this out. I haven't looked into the issue again, but I will try it out. 5 minutes would be okay for me although this isn't the expected behaviour. I guess it has something to do with the event queue on the cloud service.

Suggest an answer

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

Atlassian Community Events