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

Automation rule that updates a user picker field

Gueroihi Anas September 21, 2023

Hello,

I want to know if it is possible to create an automation rule that updates a user picker field with the name of the last person who commented the issue ?

This person could be a non-licensed user who is added in the organization and therefore can see the ticket in customer request view.

Thanks

2 answers

1 vote
Mathew Lederman
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.
September 21, 2023

@Gueroihi Anas You should be able to do this with Smart Values

When Issue Commented

Set [Your Field] = {{issue.comments.last.author}}

Since you're using a user-picker field you can't just show the last name. If you want to use a text field you could do {{issue.comments.last.author.displayName}}

0 votes
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 21, 2023

@Gueroihi Anas -

Welcome to the community.  In addition to @Mathew Lederman mentioned of using smart value to obtain last commented author information, can you provide more information on your meaning of "user picker field"?  Are you referring to "Requested participants" field?

I don't believe you will need an automation rule to achieve what you wanted as long as you use the "Requested participants" field -

https://confluence.atlassian.com/jirakb/jira-service-management-issue-sharing-962968441.html

https://support.atlassian.com/jira-service-management-cloud/docs/change-project-customer-permissions/

In case you want to learn more about Smart Values - Here is a reference link below:

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

Please provide us with your information, so we can further suggest a solution for you.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events