Hey,
I have several automations that are running on a scheduled cadence. I'm trying to create subtasks as part of the same automation. I have a feeling my branching isn't working as expected, but I could use a hand please. What I've done at a high level is:
The issue I'm having is that when I do this. The fields aren't being populated if the ticket is being made at all. I can't do trigger issue because the trigger is a scheduled time and not an issue.
I've also added in multiple re-fetch steps between making the tasks and subtasks to no avail.
Does anyone have any suggestions I can try? Thanks in advance!
Alright... I think I answered my own issue. I'll post it here though. It looks like when doing an automation like this, you want to do 2 things.
1. Use {{issue.fieldname}} not {{issue.parent.fieldname}} in the Create Issue action I mentioned in Step 3.1.
2. Make sure in the same create issue action in Step 3.1 you have the parent issue set to current issue.
** Note: Multiple Re-Fetches helps buy time too.
Thank you though everyone for the help!
Without seeing your rule specifics, I believe you do not need any Re-fetch Issue actions in the rule. That action is used for a couple of reasons:
From what your describe, your rule isn't doing either of those things.
Next, have you tried to create all of the sub-tasks with one action, selecting the option to "Add another sub-task"? That may simplify your rule rather than using separate actions for each sub-task.
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.
For 3.1.2 you could use the {{createdIssue}} smart value. {{issue.parent.field}} will not work since there is no issue yet created, thus no parent is known and the field is empty.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That would work outside of the branch shown, and after it issue created in step 2.
But once inside the branch on "most recently created issue" the smart value {{issue.some field}} will work as expected.
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.
Try and remove .parent. from your smart values, {{issue.summary}} should give you the summary for the task that you just created since that is the branch you are on when creating the subtask.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ensure that the variable syntax used (e.g., {{issue.parent.summary}}
) is correct and supported by your automation tool. Some tools might require different formatting or specific methods to fetch parent issue details.
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.