I tried to assign my subtasks based on the summary of each subtask and used the way in the following link, but it didn't work, I don't know what exactly I did wrong.
My Audit Log is showing the following:
My Rule:
Note the re-fetch is not necessary and you might want to add an audit log with
Summary: {{issue.summary}}
To be able to debug
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
so as I am still new to Jira I really don't understand exactly how to add an audit log to Summary: {{issue.summary}}
The Summary of the created subtask should be: Hardware bestellen
I have made a Rule to create automatic subtasks when creating an issue and each subtask has a specific summary and I want to automatically assign those subtasks to different assignees.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think I'm also a little bit confused because I thought through this rule I am getting the summaries of the subtasks and not the summary of the original issue that has been created.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, so if I understand correctly you create the subtask via another rule. If that is the case, you should go to the rule details of this rule and there check the box: Check to allow other rule actions to trigger this rule. Only enable this if you need this rule to execute in response to another rule.
This will make sure that your new rule is going to be triggered by the other rule.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Exactly, so now I did what you said, but the Rule only checks one of the subtasks (the last one which was created through the other Rule) but don't apply the action.
Let me show you the Log:
IT-1881 is one of the subtask as mentioned before, and its Summary is: Übergabe ans Personal mit Zettel
Which I have added to my rule when I noticed that the rule is only executing this specific subtask, to test if it will perform the desired action.
I also removed the fetching action.
Here is the Rule again:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When using the Issue Created trigger, a Re-fetch Issue action is usually needed immediately after it to prevent racetrack / timing errors.
This trigger can fire so quickly that the issue data is not yet complete, leading to unexpected behaviors from empty fields in the best case, and unusual errors in the worst case (e.g., unknown issue type, invalid status type, etc.). This has been a known problem for automation rules for several years.
The racetrack errors symptom may also occur for some issue edits and other actions associated with issue creation: set assignee, issue linking, and adding attachments. It appears anything not covered by the issue creation REST API which requires additional function calls may create the timing problem.
Kind regards,
Bill
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.