How can I get automation to update a custom field in my ticket?

trthomas
Contributor
August 2, 2024

 

Using automation, I am trying to update a custom field (Departments) in my JSM ticket with the information in Assets (People object, Department attribute).  My end goal is to have the department field in the ticket updated with the person's department. 

I have the automation set to run when a ticket is created.  It then adds information to the audit log to validate the person has a department listed in Assets.  It then edits the issue to add the department to the Departments field.  The audit shows that the automation rule is running successfully, but it never actually updates the field. 

automation.png

 

2024-08-02 13_43_02-Audit log - Automation - Service Desk - Jira and 11 more pages - Work - Microsof.png

 

I used the information found in Use-Case 2 here 

 

How to copy values between Assets object field and multi-select custom field using Automation | Jira | Atlassian Documentation

 

Any assistance you can provide to help get the Departments field updated with the Asset information would be greatly appreciated.  Thank you.

 

 

2 answers

0 votes
Adolfo Casari
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.
August 2, 2024

@trthomasThe example for that KB is kinda misleading, you shouldn't use issue.People.... but the name of the smart value that holds the object you want to put in Departmets (the one you used in your last log action). I assume Departmets is an Asset customfield configured properly.-

Suggest an answer

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

Atlassian Community Events