Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

SmartValue: User who changed custom Field

Burt Macklin November 4, 2024

Hello,

i want to create some automation rules. I need the Smart Value Code which give me the User who made the latest change to a custom field in a story. Can somebody help me please?

1 answer

2 votes
John Funk
Community Champion
November 4, 2024

Hi Burt - Welcome to the Atlassian Community!

You can use {{issue.initiator.displayName}} to see the name of the person who initiated the change.

Burt Macklin November 4, 2024

Hi John,

thanks for your answer. This is Not exactly what i am looking for.

the Automation triggers on Event A, then the Story should be assigned to Person A which made the latest Change on Custom Field A. Custom Field A is not changed in this automation. Do you understand what i mean?

Kai Becker
Community Champion
November 4, 2024

@Burt Macklin I think it is exactly what you meant. The trigger will fire on each update. So the smart value for the initiator that @John Funk posted will have the relevant user. 
This user can then be assigned to a field e.g. the assignee. Probably {{issue.initiator}} should be sufficiant.

Like John Funk likes this
John Funk
Community Champion
November 4, 2024

You will need a rule to capture the initiator when Custom Field A when it changes. You can store this in a custom field that is not on the screen. Then use the value of this field to update the Assignee. 

Like Bill Sheboy likes this
Burt Macklin November 4, 2024

Hi John,

thanks for the information! I dont know that you can define custom fields which are invisible. That will fix my problem i guess!

Burt Macklin November 6, 2024

Hi John,

I created a field and hid it. However, the automation can only access the field’s value when it is not hidden. As soon as it is no longer visible, the automation cannot find the value. Can you help me?

Suggest an answer

Log in or Sign up to answer