Hello.
I've created Jira automation --> I want to transition Story and Task to the status "test", when all of the sub-tasks under this issue will be "Closed".
Can you please tell me what mistake I did?
Are you able to view or share the Audit Log for the rule to identify which block fails?
There was user story T3-635, there was one sub-task closed, then I closed the other sub-task and waited for the story to be in "Test", but automation failed.
Did I something wrong?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I suppose {{issue.type}} should be {{issue.issueType.name}}
See the reference for Smart Values here.
I would personally recommend a setup like this:
- Limiting the trigger to transitions to Done only
- Not matching the name but rather checking if it's any type of subtask to allow for other sub-task issue types
Let me know if you run into any more problems down the rule or if this fixed your issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello. Thanks for the advice.
I filled the "Done" field and didn't work. Then I filled the "from" field too but it didn't work either.
Then I filled JQL - type in subtaskIssueTypes() and now it works. Thank you!
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.