The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to set an Approver from a CMDB

WTL
April 1, 2025

Hello everyone.

In our company, we have several departments, each with its own cost center. These cost centers are listed in the CMDB with their respective cost center managers. I would now like the cost center manager to approve the order first whenever an employee places an order. Is there a way to enter the cost center manager as the approver based on the cost center to which the order is being placed? The cost center itself is requested in the form when the order is placed.

Thank you

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Akhand Pratap Singh
Community Champion
April 1, 2025

Hello @Alexander Witsch ,

Yes, you can achieve this via Automation for Jira,

whenever a ticket is created, and cost center field is not empty update the approver (You can update conditions and triggers based on your requirement)

Then edit the field and select Approver field (Field you are using to store approvers) and try using smart value like {{triggerIssue.customfield_ABCDE."cost center manager"}}

NOTE: ABCDE is the custom field ID

Try this once, and let us know if it works

WTL
April 2, 2025

Thanks @Akhand Pratap Singh , but I think I found a slightly more elegant solution. I did it in such a way that I inserted a post-function in the workflow in the transition from the previous status, which transfers the value of the attribute from the CMDB to the approver.

cheers

Like Akhand Pratap Singh likes this
Akhand Pratap Singh
Community Champion
April 2, 2025

@Alexander Witsch , that is great

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events