I need some tasks (not subtasks) to be created when Epic is moved to specified status, and those tasks need to belong to said Epic.
With this automation I've managed to create the tasks, but they're not linked to the Epic: Automação 1 - Fluxo.png
Here is the rule detail: Automação 2 - Regras.png
And then there is the error I'm getting: Automação 3 - Auditlog.png
I've searched related posts and found this feature [JSWCLOUD-22775] Setting epic link in next gen projects - Create and track feature requests for Atlassian products., which have been implemented 2 years ago.
What have I been doing wrong?
Here's a very simple way for you to do this.
TRIGGER: ISSUE TRANSITIONED:
CONDITION: issuetype = EPIC
ACTION: create issue.
The detail you should note is that you should use the "Epic link" field and not the "Epic name" field;
Also, you can directly put this EPIC LINK value when defining fields for the new issue that will be created.
Just select the option "Copy from trigger issue".
Just as Epic will be transitioned to a certain status, the issue will be created and automatically linked.
Regards,
Fernando
"Copy from trigger issue" will not work to set the Epic Link of a child issue when the trigger issue is an Epic, I think. That action is trying to copy the data from the same field in the trigger issue. Epics don't have an "Epic Link" field.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The idea is not to copy the value of the "Epic link" field from Epic itself.
Edit the "Epic link" field of the created task, making it assign the Epico that was carried over.
It's a functional rule, if you do as I showed in the print you'll see that the result is safe.
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.
Go to project settings;
Screens;
View and Edit screens of the issuetype that will have the issue created;
Add the "Epic link" field.
Test again.
The error occurs because the "Epic link" field is not available on the issue screen that will be created
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.
Hello @Nicolle Diniz
Is this rule creating issues in a Team Managed project?
If so, then to add the new issues to the Epic you need to instead set the Parent field.
Refer to this post:
If that doesn't solve your issue, please let us know.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Additionally, the issues that you are creating will not have an Epic Name field, so you need to remove that from the fields you are setting when creating the new issue.
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.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.