How to update Asset object attribute using automation on Data Center

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問


プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

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.

*Fisheye および Crucible は除く

要約

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 - Getting issue details... STATUS

For Reference this is how it is done on Cloud:

環境

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>



最終更新日: 2023 年 1 月 6 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.