I'm having trouble with the first bit of this automation.
For some reason, when I try to check the Epic Parent Issue for its Team, it keeps checking the Task/Story that was just created.
Here is what I've tried as conditions so far and none of them have worked:
I have tried also with all lower case and all camel case. I've tried encasing the Team Name in " " quotes.
None of this has worked. When I check the audit it says that it's checking in the newly created Task/Story for the Team and not in the Parent Epic. And of course, there is no Team in the newly created Task/Story.
If anyone can help I'd be very very grateful! 🙏🙏🙏
-----
UPDATE:
Perhaps it's also relevant, that I was able to get this automation to work when it's a Sub-Task created and you have to check the Parent Task/Story. ALTHOUGH...in the Rule Audit is says it's not working. But when I create Sub-Tasks, the Sub-Tasks are properly given the right Team. Aaahh so strange!
But for some reason, when I'm trying to check a Parent Epic, it's not working. Audit says No and no Team is assigned to the Child Story/Task.
What i believe is happening
{{issue.epic.Team}} and {{issue.parent.Team}} only work in certain contexts:
issue.epic works when the trigger issue is a Story/Task linked to an Epic.issue.parent works for sub-tasks, not for Epic → Story relationships.When your rule triggers on “Issue Created,” the smart values refer to the new issue, not its parent. That’s why the audit shows it’s checking the child issue.
You need a Branch in your automation to look at the Epic and copy the field
@Christos Markoulatos thanks for the reply.
The problem I run into when I create a branch to look at the Epic, is that I can't seem to then find a way inside that branch to update the team of the newly created Task/Story. I'm only able to edit the Epic because I'm looking at the Epic.
I'm hoping there is a way to do this and I just don't know it yet, but I haven't found a way yet.
Do you know how to do this?
I've included a screenshot and added translations cuz our Jira instance is in German
Thanks muchly
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.