How to add Watchers or Request Participants during issue creation

お困りですか?

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

コミュニティに質問

This article requires fixes

This article has been Flagged for fixing. Use caution when using it and fix it if you have Publisher rights.

プラットフォームについて: Cloud のみ - この記事は、 クラウド プラットフォームのアトラシアン製品にのみ適用されます。

問題

Sometimes it can be useful to have a list of Watchers or Request Participants added to issues so those users receive notifications about it from the start.

Currently, both the Watchers and Request Participants fields can't be added to the Create Issue screen (and to the Request Type settings for Service Management projects).

While we do already have Feature Requests for both cases ( JRACLOUD-5493 and JSDCLOUD-1511), it is possible to workaround these limitations using workflow post functions and custom fields!

Creating a custom field

First, you'll need a custom field for the process to work properly. You can follow our documentation on creating a new custom field here:

When selecting a field type, make sure to use either the User Picker (single user) or User Picker (multiple users).

Optional: You can add default users to the field so they're always added as Watchers/Participants or leave it with no default value so users can add the correct Watchers/Participants when creating the issue.

After the field is created, don't forget to add it to the proper Create Issue screens for your projects! Learn more.

Adding the Workflow post-function

Find the desired Workflow you'd like to add the newly created field, and edit it:

Switch to Diagram mode, so the Create Issue transition is easily identifiable.

  1. Click the Create Issue transition
  2. Click the Post Functions link on the transition pop-up
  3. Click "Add Post Function"
  4. Select the "Copy Value From Other Field" Post Function and click "Add"
  5. On the next screen, select the newly created custom field as the Source Field and Watchers or Request Participants as the Destination Field. If the custom fields don't appear, start typing their names to be able to select them.

  6. Select the "Copy within same issue" option and click "Add"
  7. Publish your workflow draft so the changes are effective

結果

Now, whenever a new issue is created using that workflow, the users added to the custom field will be copied to the Watchers or Request Participants field automatically, making sure those users will receive notifications for that issue following your notification settings!

注意

It is now possible to add watchers to an issue while creating it. Have a look at here to learn more:


Last modified on Mar 21, 2024

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

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