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,456,776
Community Members
 
Community Events
176
Community Groups

Automation. Insert past field value into comment

Dear community, hello.
Sorry if the question was, did not notice.

Please tell me how to solve the problem:
When changing the "Description" field, you need to:
- Comment on the task that the description has been changed.
- In the comments, indicate what's new has been added to the description.

I created a comment rule, but I can't display the old value of the field there, which was before the change.

The ideal option for me is to display in the comment the difference between the old description and the new one.
If this is not possible, please suggest how I can display the old value of the field in the comment.

Rule screenshot:

image.png

2 answers

2 accepted

1 vote
Answer accepted
Tessa Tuteleers Community Leader May 11, 2022

Hi @Evgeniy S_ , 

 

you can use the following: 

Value before edit:  {{#changelog.description}} {{fromString}} {{/}}

Value after the edit:{{#changelog.description}} {{toString}} {{/}}

Showing a diff between the two is not a built in feature however. 

- Tessa

Great, it works. Thank you. 🎉

1 vote
Answer accepted

Hi Evgeniy S_

You should be able to accomplish this by using the ChangeLog smart value field. Documentation here:

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--changelog--

Thank you, I understood.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events