You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello
I am trying to automate a comment, and I need to use a previous value of a field within the ticket
To explain, we use a project in Jira as an Asset Register. A device/thing is assigned to a person using a 'Assigned To' user-picker custom field. All this assigning thing works fine.
When unassigning to the person, by removing the value of the Assigned To field, I want a comment to be automatically made on the ticket saying "Device Unassigned from "Previous Value of Assigned To" but I can't get it to pick up the name
I've tried using {{changelog.<field>.from}} and the {{issue.linkedIssues.<linkType>.<field>}} to try and pull it from the linked issue, but the name still isn't populating, even though the automation runs as success
Any ideas?
Thanks!
I've managed to solve this myself, super easy fix! Just used {{fieldChange.fromString}} to get the value of the last changed field.
Could you please also provide a screenshot of your automation rule and your comment action? I tested in my syxstem with a userPicker custom field and it worked correctly.
Furthermore:
Could you add a log action that simply prints the change log {{changelog}}? This should give information about details of the changelog.
Best
Stefan
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.