Forums

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

Workflow: how to set an approver (manager) automatically, if this field is an asset field

Atlassianist
Contributor
July 10, 2025

Hi, 

we have a service desk project, where the user is able to choose a software (from an asset field) he would like to get access to. 

The objecttype has an attribute "approver" (as user object)

The project has an issuetype with approval. 

The approver should set in the field "approver" automatically, if the ticket is created. 

With which smart value can a i set the approver as Asset object?

User are stored in objecttype "anwendungen", Attribut "user". 

Thank you for your advices. 

Best Regards

A.

1 answer

0 votes
Stefan Stadler
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.
July 11, 2025

Hi @Atlassianist 

I am not sure, if there are smart values available to achieve this. I have implemented an identical approach, but I had to use ScriptRunner to get this running. 

This could then be done in either a ScriptRunner behavior or by using a post function, so that the approver does not have to be selected by the user and will always be the value from the Asset object. Both approaches are valid in my opinion.

If you also have the option to use ScriptRunner, I can certainly share some of the key steps here.

Regards,

Stefan

Atlassianist
Contributor
July 11, 2025

Hi @Stefan Stadler , 

finally I was able to solve it simply with the change of the status, I ask for approval at. 

If I configure the status to load the approving person not from a field, bat directly from the assets (one can set the attribute as well), it works automatically as requested.

Regards

A.  

Like John Funk likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events