How to update Asset object attribute using automation on Data Center

Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.

Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

As an admin, you may want to setup an Automation for Jira rule that is able to edit the attributes of an Assets object. This is currently possible on Cloud and for that we have the following feature request for it on Data Center:

JIRAAUTOSERVER-464 - Update Insight Object attribute value using JSM/Jira automation on Data Center

For Reference this is how it is done on Cloud:

Solution

Environment

Jira Service Management Assets

Automation for Jira Server/Data Center

Possible Solution

While this would require a lot of customization, it's possible to edit Asset object attributes using its own REST API endpoints:

You'd need to use Send Webhook action to:

  • <BASE_URL>/rest/insight/latest/object/<ObjectID or Key>

  • The Key of the object for current issue can be fetched using the smart value issue.customfield_XXXXX.key

With the attribute ID you'd like to change, feed it into a POST on:

  • <BASE_URL>/rest/insight/latest/objectattribute/<AttributeId>

Updated on April 8, 2025

Still need help?

The Atlassian Community is here for you.