I'm busy setting up some automation rules to post comments to a parent if changes are made to the child's description.
It works as intended, but it posts the description before the change is saved, and not the new value. How would I go about posting the new value, and not the old value?
I've also tried {{issue.description}}. Any suggestions would be appreciated
For Linked Issue switches contexts the other ticket, so when it comments with a description, it will use the other ticket's description.
The solution would be to put the new description in a variable before switching contexts.
See screenshot in reply to Juan's comment
If I understand your scenario correctly, you need to use the {{triggerIssue}} as the source of data to update the linked issues.
The meaning of {{issue}} can change in a rule based on the rule structure. For example:
And so for your scenario, you could the Comment action to just use {{triggerIssue.description}}
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Juan Carlos Vera
Thanks for the suggestion, it pointed me towards the actual issue.
So because the context was switched back to the parent ticket (with For Linked Issue), it posted the parent ticket's description instead of the child.
This can be solved by first populating a variable before switching contexts.
Screenshot of working solution below:
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.