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

Calculate the sum of assets in CMDB

Chrissy Clements
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 22, 2024

We have license profiles that consist of several licenses, e.g., our profile is that of a frontline worker, and it contains 0365, viva, defender or similar.  Each of those licenses has a cost associated with it.

Is there a way to calculate this license profile's sum within CMDB?

2 answers

1 accepted

0 votes
Answer accepted
Chrissy Clements
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 14, 2024

So, after annoying the smartie pants over in support, it turns out this is entirely feasible!

You'll need to use floats or integers on the attributes :)

https://confluence.atlassian.com/jirakb/how-to-sum-up-attribute-value-of-multiple-assets-in-an-assets-objects-field-and-update-it-to-another-jira-field-using-automation-for-assets-1167700732.html

0 votes
Eugenio Onofre
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 22, 2024

Hi @Chrissy Clements

Unfortunately, Atlassian Assets doesn't automatically sum up related costs. You'll need to manually calculate the total cost by adding up the costs of each linked license.

Alternatively, if you're comfortable with scripting, you could use Atlassian’s API or scripting features to automate this calculation.

https://developer.atlassian.com/cloud/assets/rest/api-group-object/#api-object-id-attributes-get

Please remember to accept this answer in case it helps you resolve your question as it may also help other community members in the future.

Regards,
Eugenio

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