Hi,
I am working now on creating subtasks based on one custom field change. I am able to make this work but the problem is troubling adding "prefix - Summary" on subtask during the creation.
I tried writting the text as "Jan - {{issue.summary}}"
and "Jan - {{issue.parent.summary}}"
Both did not work. Second one updating the Task summary. But I need it for Subtask.
Any advice?
Thanks,
Om
Use {{triggerIssue.summary}} for this.
This is explained a bit here: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/
This fires based on if you are using automation to immediately create the sub task.
You can also do a issue created and with JQL check if it is a sub task and if yes use the issue.parent but you will need the exact field you want e.g. {{issue.parent.summary}}
I hope this helps
Hi @Ismael Jimoh I tried smart values but it is updating parent summary, Not the subtask summary.
I used {{issue.parent.summary}} and it is updating parent issue summary. If I use Jan - {{issue.summary}} then it is not updating summary as prefix. It is updating with parent summary only.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Look like I figured it out. I used most recently created action
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Looks like I don't have the Branch rule/ Related issue option in IF block. I tried Branch rule/Related issue on Main branch but I have added If condition to check some of the field values to trigger create subtask as shown in below pic.
Do you have any idea how I can handle Branch rule/related issues in IF block? Or any otherway I can change the subtask summary which we create in IF block?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Unfortunately, certain options can only be performed at certain steps in Automation for Jira.
When an option isn’t available, it means it isn’t possible.
I don’t have an idea how to get this tow work in your case.
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.