Hello Community!
I am trying to elaborate on the automation where the subtasks of the story are created with specified fields in them.
one of the subtasks is DEV, other is DESIGN.
What interests me - is there a smart value, that, when added to the summary field I specify for the subtasks, will allow them to inherit the Summary of the Story AND. either DEV or DESIGN along with it?
Hi Dmitry,
Yes, you should be able to do that with Automation for Jira. Do you have a rule created yet?
Yes, and to John's answer: we will need to see your current rule, and perhaps the audit log details, to help know possible suggestions.
Until that is posted...You cannot "inherit" the value from the parent, but you can copy it to add to the subtasks. You would need additional rules if you want to keep them in synch, such as when the parent story changes.
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.
It looks like Dmitry isn't responded but I am looking for an answer to his question. I created an Automation, here is how I set it up:
That 4th sub-bullet, where I am setting the "Summary", is where I would like to use a Jira smart value for using the parent story name. I looked at the Atlassian Support page and it lists the following smart values:
I attempt to set {{issue.parent.epic.summary}} - Development Phase as my Summary, but that didn't work. I assumed it wouldn't because I don't have the parent Story in an Epic. I then tried {{issue.parent.summary}} - Development Phase to see if that might work, but no dice.
Reading @Bill Sheboy response, it sounds like I might need to add something to my automation to get the parent issue summary and copy it, but I can't quite understand how I might do that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you remove your branch to Current Issue, you may then reference the trigger issue's summary when the subtask is created with either of these:
{{issue.summary}}
{{triggerIssue.summary}}
Also of note: the Issue Created trigger and fire faster than the data is available to a rule, leading to problems. The work-around for that is to add a Re-fetch Issue action immediately after the trigger; this will slow down the rule and reload the data before proceeding.
If that does not help, please post images of your complete rule and the audit log details for context.
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.
Thanks @Bill Sheboy that got it working. I assume only the original poster can "accept" an answer, but I truly appreciate your help.
I already had a branch under the "When: Issue created", so I just had to add the "Re-fetch issue date" action and then I updated my "Create a new Sub-task" to include {{issue.summary}} in the Summary, worked like a charm.
My rule now looks like this:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi! I recommend moving the Re-fetch up to immediately after the trigger. Otherwise there is a chance that JQL condition could fail to match when the data is not ready yet.
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.