Hello,
What I want to achieve with the automation: create several new issues from one. The new issues will copy most of the values from the trigger issue, with some differences.
My problem: {{issue.fixVersion.name}} won't appear in the issue Summary.
Basically, I want the automation rule to look at the fix version of the trigger issue and to copy that value into my new issues Summaries.
What my rule looks like atm:
Note 1: I added "For all created issues" branching node because otherwise it was changing my trigger issue.
Note 2: I added "Re-fetch issue data" because I thought that would make the automation to re-fetch the fix version value, but it didn't seem to do anything.
Here's what my trigger issue looks like:
And here's what the rule is returning, with the arrow pointing to where I'd like the fix version value to appear:
Your help is much appreciated, thanks!
Yes, and...to Laurie's answer:
Why not set those fields at the same time as issue creation rather than using the separate edit...including the change to the summary?
They could copy from the Trigger Issue, or use the smart values from: {{triggerIssue}}
Also, do you ever expect issues to be in multiple fix versions? If so, that reference to the version names in the summary could contain values separated by commas, such as this made up example:
[UI Translations] Data Containers FD-2404 / 5.25.0, 5.26.0, 5.26.1 PQ Test
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.
@Laurie Sciutti You're right, the "s" was missing!
In my defense, I find Jira's smart values page a bit misleading in this regard, as it literally states "{{issue.fixVersion.name}}", without the "s".
If I set the summary change together with the other changes, it simply doesn't work. I believe that the automation has to re-fetch the issue data beforehand in order to change the summary... Any idea why? So the following config doesn't yield the desired result:
Also, I tried setting up all the changes together with issue creation, but that ended up changing the trigger issue itself; which I really don't understand why. But that's why I ended up adding the "edit issue fields" rule...
I won't have multiple versions in the future, so just one should be fine.
Thanks for your help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmmm...that is quite odd. Here is the rule I was suggesting:
Without seeing the exact rule action (and audit log details) it is difficult to learn why that would not work for your rule.
You are using Jira Data Center, and so there could be differences in smart values and their availability...Although the documentation says they are all available: https://confluence.atlassian.com/automation/jira-smart-values-issues-993924860.html#Jirasmartvaluesissues-triggerIssuetriggerIssue
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.