Dynamic Approval Based on Selection from Asset Field in JSM

AS
Contributor
February 7, 2024

- Company A has a Asset Object Field Drop Down with all of the applications our company supports. (23 Software Applications)

- Each Software Application has a Technical Owner and Business Owner

- When User 1 is requesting an Application, it is the desire that the Approval dynamically change based on the Software to whom ever the Technical Owner Is (This is a mandatory issue needed for functionality) 

- Wish List item would be that the backup Approver would be the Business Owner. 

 

2 answers

1 accepted

1 vote
Answer accepted
Paul Wiggers
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 7, 2024

Hello @AS 

Thank you for your question and yes, I believe this is possible. I haven't yet tried it out fully but this is my crack at it.

I am not sure how your Assets are setup but I am assuming that the TO and BO are linked on the Asset. If so, you can create an automation:

  • Triggers when the issue is created (or whatever other trigger you want)
  • Add a Then Component > Lookup Objects and use AQL to fetch the object that you want, based on the value of a field (in this case, the Application field)
  • Edit the issue field "Approvers" and use the {{lookupObjects}} smart value to fill-in the retrieved user

Is this something that you can work with or do you need some additional information?

Kind Regards,

0 votes
AS
Contributor
February 7, 2024

@Paul Wiggers First, Thank You for the response. Please see below. Is this close to what you were describing? 

AssetAuto000.PNGAssetAuto001.PNGAssetAuto002.PNG

Paul Wiggers
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
February 7, 2024

Hey there,

Yes, that is looking like something I had in mind. I am not sure about the field names since they are depending on your Assets setup but I seeing what you have already created, I am sure you can manage to get all the data set correctly.

If you can't get it this way, then you can also try to extended If then else route. That might work and could be easier to setup but requires a lot more labor when something changes.

Like AS likes this

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