Error "We couldn’t restrict your issue type. Refresh the page and try again." while trying to restrict Subtasks on a Team Managed project

お困りですか?

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

コミュニティに質問

アトラシアン社外秘

この記事は未検証なのでお客様と共有できません。

(warning) Delete this section above the line before publishing your KB




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


要約

Unable to restrict subtask work type on Team managed project, error "We couldn’t restrict your issue type. Refresh the page and try again." is encountered

環境

Jira Software Cloud 

診断

Try to use the restrict Subtasks in a Team Managed Software project for users having specific Project role it will throw an exception "We couldn’t restrict your issue type. Refresh the page and try again" 

原因

This is a UI Bug i.e. the API which is being used to restrict work types is not applicable on Subtasks. Due to this, Jira will throw an exception. Ideally, the UI should not show us the lock option for Subtasks work types.

ソリューション

  • Generate HAR file and for "issuerestrictions" web request you will see below error message

  • Ideally the option to restrict Subtasks issue types should not appear on UI
  • Subtasks work are supposed to be created when you want to further breakdown the work in standard worktype in smaller units/work
  • Issue restriction should be applied for Standard issue types (Story, Bug, Task etc) and the same should be inherited by the linked child Subtasks
  • As a workaround you can edit the workflow of Subtasks and under Create transition use Rule validator "Validate that people have a specific permission" define the Permission. Users with that specifc permission can only create subtasks work type, however this wont refrain other users from viewing the subtasks work created.


  • Work level security is inherited from Parent work type, for example restriction is set for Task work type, now when a user without that role creates a Task, the Task is created, however, the user is unable to Browse the Task and thus wont be able to create the Subtasks under the restricted parent.


Last modified on Mar 31, 2025

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

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