Fixing issues from Sprint created in different original board

お困りですか?

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

コミュニティに質問

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

要約

This page provides fixing a possible solution for when facing the "Manage Sprints" permission issue and all the normal checks, such as filter complexity, projects in the board, etc., for example, clarified in the KB Users can't manage sprints despite they have the Manage Sprint permission for all projects listed in the board query, are already done, but the issue is still faced.

環境

Jira Cloud

診断

First, follow the usual checks:

  • Checking if the affected users have all Sprint-related permissions, such as “Manage Sprints”, “Schedule Issues”, etc.
  • Check the board’s filter to confirm if the filter is returning only one project or more than one. In case there is more than one, check the permissions for all the projects.
  • Check if issues in the Sprint are not part of other Sprints as well, for the same reason as in the filter complexity.

Then, once you have confirmed everything is correct, but the error is still happening, run the below API call, to check the board from where the Sprint was created. You will need the Sprint ID, which you can take from the URL of Sprint.

curl --request GET --url 'https://<instance_name>.atlassian.net/rest/agile/1.0/sprint/{Sprint_ID}' --user '<email>:<API_Key>' --header 'Accept: application/json'

The return should be something like the below:

{
	id: 7,
	self: https://<instance_name>.atlassian.net/rest/agile/1.0/sprint/{Sprint_ID},
	state: "active",
	name: "QA Sprint 2",
	startDate: "2022-08-15T06:15:38.984Z",
	endDate: "2022-09-06T10:35:00.000Z",
	originBoardId: 2,
	goal: ""
}

Then, use the value from the "originBoardId" and run the below query:

curl --request GET --url 'https://<instance_name>.atlassian.net/rest/agile/1.0/board/{board_ID}' --user '<email>:<API_Key>' --header 'Accept: application/json'

You should see a return like below:

{
	id: 2,
	self: https://<instance_name>.atlassian.net/rest/agile/1.0/board/{board_ID},
	name: "QA board",
	type: "scrum",
	location: {
		projectId: 10007,
		displayName: "QA (QA)",
		projectName: "QA",
		projectKey: "QA",
		projectTypeKey: "software",
		avatarURI: https://<instance_name>.atlassian.net/rest/api/2/universal_avatar/view/type/project/avatar/10418?size=small,
		name: "QA (QA)"
	}
}

With this information, you should be able to confirm the board where the Sprint was created and if it's the same as where you are trying to close the Sprint or if it's not, confirming the cause of the issue.


原因

The cause of this issue is that the Sprint was created in a board that was either already deleted or it's part of a project that is archived. As the project is archived, the user won't have permission to "Manage Sprints" in the archived project or deleted board, and for this reason, the error is faced.

ソリューション

To perform the fix of this issue, there are ways to do it:

  • In case the board is part of a project that is archived, reactivate the project, so the board is reactivated as well. This way, the user should be able to close the Sprint, as long as the users have permission in the previously archived project.

  • Deleting the affected Sprint and recreating them on the correct board is also an alternative.



最終更新日 2023 年 4 月 17 日

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

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