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

Adding an Approver to a 'Service' in Assets

Ste404
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.
December 14, 2022

Hi there,

Frustratingly you cannot add any attributes to Service that is pre-loaded in Assets, I would like to add an Approver.

I have created another Object type that has a referenced object of the Service but this new Object Type has an approver in it.

What I am trying to figure out is how to setup an automation, that when the Affected Service is selected, it will then drop down into the 'Technical Service' ObjectType I have created and pull back the approver to edit the issue field with.

Not sure how to reference the lookup object to reach into the next ObjectType.

Currently I can pull back the service information;

ObjectType = "Service" AND "Name" = "{{issue.Affected services}}"

but then I want the related 'Technical Service"  Approver to be pulled into the issue.

is this possible?

2 answers

1 accepted

2 votes
Answer accepted
Ste404
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.
December 14, 2022

ok typing that out had me come up with an idea.
Use the same name in the Technical Services ObjectType as the Service in 'Services'.

I just do a lookupObject from Technical Services using the affected service value from the issue.

Relies on the Technical Services name being the same as the Services name, but until I can figure out the references this works.  

Would love to know a neater way to do it.

0 votes
Ste404
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.
December 15, 2022

Outbound ref not inbound.. 

 

ObjectType = "Technical Service" AND object HAVING outboundReferences("Name" ="{{issue.Affected services}}")

Suggest an answer

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

Atlassian Community Events