Forums

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

Setting a custom field in Jira automation

Ragvi Ttpt
Contributor
October 30, 2020

Hi,

I have a custom field called "Checked By" which is a single select drop down list. I want to set this field when a user triggers a certain transition. It should be assigned the name of the user who triggered the transition. I am using Jira automation to accomplish this. For some reason I am unable to capture/assign the "User who triggered event" value to this custom field, though this is not a problem when trying to set this to an Assignee. I am pretty sure this has something to do with the Data Type. I can't figure the right smart value for this value either. Had no luck when I tried to implement this as a Post-Function in the WorkFlow.

image.png

1 answer

1 accepted

4 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 30, 2020

Hi @Ragvi Ttpt 

The smart value you want is the {{initiator}}, and specifically you may need {{initiator.accountId}}

Try both to see what happens when setting your field.

Best regards,

Bill

Ragvi Ttpt
Contributor
October 30, 2020

Awesome, thanks much. 

Ragvi Ttpt
Contributor
October 30, 2020
{{initiator.displayName}} did the trick.
Like # people like this

Suggest an answer

Log in or Sign up to answer