Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,439
Community Members
 
Community Events
184
Community Groups

Automate a Comment with Previous Field Information

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.

Assigning.png

 

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

 

Unassigned.png

 

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!

 

 

2 answers

1 accepted

2 votes
Answer accepted

I've managed to solve this myself, super easy fix! Just used {{fieldChange.fromString}} to get the value of the last changed field. 

1 vote
Stefan Salzl
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Mar 29, 2023 • edited

Hi @Georgia Beckers 

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events