How to configure Insight custom fields as cascading select list

お困りですか?

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

コミュニティに質問

プラットフォームについて: 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 は除く

目的

To configure Insight custom fields as cascading select list

Based on a schema with object types below,

You would like to have 2 custom fields on a request form to allow users to

  • Choose an Author object in the first field
  • Choose the Book object(s) in the second field. The options in this field should be based on the selected value in the first field.

ソリューション

There are 2 solutions with different combinations of Insight custom field types

Using an Insight custom field and an Insight referenced custom field
  1. Create a default Insight custom field for users to select author with the configurations below.
  2. Create a referenced Insight custom field for users to select books written by the author chosen in the custom field above. For this example, we select the field type that allows multiple option.


  3. Make sure both the custom fields are added to the right request type and test it out.

Using two Insight custom fields
  1. Create a default Insight custom field for users to select author with the configurations below.
  2. Create another default Insight custom field with the configurations below.

    Tips on constructing the filter issue scope

    How to construct the IQL?

    View one of the Author object and check the graph. Locate at least one of the objects that is expected to show up as an option and see the direction of the arrow. Is it pointing towards or away from the chosen Author object? In this example, they are all pointing towards the Author object and hence, we are looking for object having outbound references of Author. And to make sure only Book objects are showing as options, we add the condition for object type in the IQL.

    Why "Key=${Author}" instead of "Label=${Author}" or "Name=${Author}"?

    The value returned from the Author custom field is in object key format and hence, it needs to be matched using key.


説明 How to configure Insight custom fields as cascading select list
製品Insight - Asset Management
最終更新日 2021 年 11 月 4 日

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

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