I need to update a custom field value in the parent of a deleted issue in the Issue Deleted script listener.
I've tried almost all but no results yet.
Thanks,
Hi @Asimetrix Atlassian ,
Welcome to the Community! Can you please share more details about the script? What's the custom field in the parent issue that needs to be updated? Does Jira let you edit that field if you try to update it manually? Are you getting any errors?
Thanks a lot... I need to update the count of child items of the parent whenever a child is created or deleted.
I could easily make it in the creation, but I can't find a way to access the parent key of a deleted issue (issue.getParentObject() or any other way) as to re-count.
I know how to easily do it via automation rules, but this client wants to use ScriptRunner as much as possible.
Thanks in advance,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.