Forums

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

Automation - Assignee Field updating Object Full name

Sean McConell October 25, 2024

I have a Objecttype = "Employee"

I have a Object = "Employee Name"

The main Attribute in "Employee Name" = "Full Name"  

I have a Object Asset Field  = "Assignee Profile"

 

When I assign the ticket to a new Assignee. Is it possible through automation to change from 1 Object to another Object. 

All I have been able to complish is editing the Object. I do not want to edit the current object.  I want the Assignee switch object to the proper users name.  

 

Example. Assigned ticket to John Doe. I reassign the ticket to Jane Doe. I want the Object Asset Custom Field to update to Jane Doe. 

Assignee John Doe

Assignee Profile  = John Doe (Object)

Re-assigned  Jane Doe

Assignee Profile  = Jane Does (Object)

image.png

 

1 answer

0 votes
Jehan Bhathena
Community Champion
October 26, 2024

Hi @Sean McConell ,

The use case you've mentioned should be achievable using the Lookup-issues action.

Below is the outline of what you can try:

  • Trigger automation on assignee changed
  • In the actions, select "Lookup Objects", select the Schema under which the objects are present, and use the AQL to search for the user.
  • Use the IF condition to compare 2 smart values, LookupObjects' output vs the Assignee Email(or username or any other value you're using for identification)
  • If there is a match use the "Edit Issue" action and edit the Asset field, use the AQL similar to the "Lookup Objects" query to find and update the linked object

Do let us know how it goes.

 

 

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