高度なケースでスプリントの権限管理を使用する

The 'Manage Sprints' permission (only available to Jira users) is a space permission that allows users to perform the following sprint-related actions:

  • スプリントの作成

  • スプリントの開始

  • スプリントの完了

  • スプリントのレポート

  • 以降のスプリントの並び替え

  • 以降のスプリントの削除

  • スプリント情報 (スプリント名および日付) の編集

  • スプリント フッターの移動

「スプリントの管理」権限の注意事項

With this permission, the board's filter query determines the spaces that users need to have permission on. Also, permissions are now checked against the filter query of the board from which the sprint originates, not just against the work items within the sprint.

ボードに複雑なフィルタークエリがある場合

A filter query is considered complex when Jira can’t identify which spaces the query will return. In these cases, you must have the 'Manage Sprints' permission for all spaces in the instance before you can create new sprints. To manage an existing sprint, you must also have this permission for all the spaces containing work items in the sprint.

To handle this better, consider using Jira space roles for the 'Manage Sprints' permission. While space roles are defined at the instance level, they are applied at the space level. Thus, space level permissions can be given to members of a space role, as well as groups, individual users, or through other means of designating a user. In essence, space roles enable you to associate users with particular functions for specific spaces.

たとえば、次のことを行うことを検討することができます。

  1. Create a new space role called Sprint Manager.

  2. In the corresponding permission scheme, assign the 'Manage Sprints' permission to the Sprint Manager space role.

  3. Associate the permission scheme with the corresponding spaces in your instance.

  4. Add the appropriate users to the Sprint Manager space role.

Completing these steps will make sure that the appropriate users have the Sprint Manager space role in the corresponding spaces — and since the 'Manage Sprints' permission is assigned to the Sprint Manager space role, then these users can perform sprint-related actions.

次の表は、このようなクエリを簡素化する上で複雑なフィルタクエリ、および提案のいくつかの例を示しています。

複雑なフィルタクエリ

なぜクエリが複雑なのか

クエリを簡素化する方法

assignee = someone

These queries return global context results because the results could potentially come from any space in the instance.

Add the space clause into the queries. This will reduce the number of spaces Jira will check permissions on.

project = TIS OR issuetype = Bug

project = TIS OR (issuetype = Bug AND assignee = someone)

(project = TIS OR assignee = A)

AND

(project = PMO OR assignee = B)

Jira ではこのクエリが以下のように評価されます。

(project = TIS AND assignee = B)

OR

(project = TIS AND project = PMO)

OR

(assignee = A AND project = PMO)

OR

(assignee = A AND assignee = B)

 

The red parts of the query won't return any results, which makes the query complex. Since the query returns undefined results, the 'Manage Sprints' permission will then be required for all spaces in the instance.

クエリを次のように書き換えます:

(project = TIS AND assignee = B)
OR
(project = PMO AND assignee = B)

 

With this query, users will be required to have the 'Manage Sprints' permission on only two spaces.

AND 句が含まれる場合、それは従属節になるため、そのようなクエリには OR 句を含めることをおすすめします。

簡単に言えば、

  • OR 句が括弧の外側にあること

  • AND 句の従属節が括弧の内側にあること

推奨されるクエリ形式: <clause> OR (<clause> AND <clause>) OR <clause> OR (<clause> AND <clause>)

複雑なクエリ形式: <clause> AND (<clause> OR <clause>) AND (<clause> OR <clause>)

ボードに他のボードからのスプリントが含まれている場合

「スプリントの管理」権限により、スプリント内の作業項目に対してだけでなく、元のボード (スプリントが作成されたボード) のフィルタークエリに対しても権限が検査されるようになりました。

使用されるフィルター クエリに応じて、ボードに他のボードからのスプリントが表示されることがあります。たとえば、TIS ボードに、別のボード (PMO ボード) で作成されたスプリント 3 が表示されているとします。この場合、PMO ボードはスプリント 3 のオリジン ボードです。

TIS ボードで、スプリント 3 をクローズしようとする場合、次の項目が検査されます。

  1. Jira checks if you have the 'Manage Sprints' permission for the spaces in the origin PMO board.

  2. 権限がある場合、スプリントはクローズされます。スプリント 3 に未完了の作業項目がある場合、Jira によって移動先オプション (バックログまたは TIS ボードの将来のスプリント、たとえばスプリント 4 など) が提案され、そこに未完了の作業項目を移動することができます。

  3. 未完了の作業項目をスプリント 4 に移動することを選択した場合、作業項目は TIS ボードのスプリント 4 に移動されます。

  4. スプリント 4 が PMO ボードにも存在する場合、未完了の作業項目は PMO ボードのスプリント 4 に表示されます。
    ただし、スプリント 4 が PMO ボードに存在しない場合、未完了の作業項目は PMO ボードのバックログに移動されます。

 

さらにヘルプが必要ですか?

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