I may be wrong because I am not good at English.
JIRA Automation counts the number of child issues whose status is closed.
I set the trigger when creating a child issue and when transitioning a child issue.
I want to be able to run it when a child issue is deleted.
We currently have the following settings, but please lend us your wisdom so that it can be executed even when a child issue is deleted.
When: Manually triggered
All logged in users van run rule.
Then: Lookup issues
Search for issues using JQL
parent = {{issue}} and status = "Closed"
And;Edit issue fields
Word Count
When you want a rule to trigger after an issue is deleted, try using the Issue Deleted trigger.
If that is not what you asked, please try this:
Kind regards,
Bill
Using the deleted issue trigger will result in the following error.
Split rules/related issues
An error occurred while searching for related issues. The most likely cause is that the next issue does not have a related issue of the specified type. Try narrowing your search to include only issues that contain links to related issues.
KEN-59: "((Key = KEN-55) AND (key != KEN-59)) AND (project in (10005))" - Issue does not exist or you do not have permission to see it.。
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When I use the issue deletion trigger, I get an error in the Then: Lookup issues part because the issue has been deleted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First, the "Parent link" field has been deprecated, so please consider no longer using that. Please look here to learn more: https://support.atlassian.com/jira-software-cloud/docs/upcoming-changes-epic-link-replaced-with-parent/#Updates-to-automation
Next, when the Issue Deleted trigger fires, the issue is captured for use in the rule. And so the fields are present. I just tested this to re-confirm the behavior in Jira Cloud.
What is the type of the issue you are deleting?
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.