-
Type:
Suggestion
-
Resolution: Unresolved
-
Component/s: Board (Team) - View, Board - View Settings
-
None
-
3
-
2
Summary
The REST API endpoints Get board ( /rest/agile/1.0/board/{boardId} ) and Get all boards ( /rest/agile/1.0/board/ ) are always returning "simple" as the board type instead of "scrum" or "kanban" for Team Managed (former Next-gen) projects.
This is because, unlike like in Company managed (former Classic) projects, in Team Managed project you can actually change the kind of board you are using "on the fly", by enabling/disabling the different board features from: Configure board -> Features. Specifically:
- No sprints and no backlog -> Kanban
- No sprints but have backlog enabled -> Kanplan
- Have Sprints and backlog enabled -> Scrum
Steps to Reproduce
- Call the Get all boards (/rest/agile/1.0/board/)
- See that for Company managed projects the board type is either "scrum" or "kanban" like in below example:
{ "id": 6, "self": "https://XXXXX.atlassian.net/rest/agile/1.0/board/6", "name": "TBI board", "type": "kanban",... ....
- Now check the board type for a Team Managed project
Expected Results
The board type is returner as in Company managed projects
Actual Results
The board type is always "simple", as in below example
{
"id": 5,
"self": "https://XXXXX.atlassian.net/rest/agile/1.0/board/5",
"name": "TSMN board",
"type": "simple", ...
....
Workaround
You can call the REST API endpoint to Get features for board (GET /rest/agile/1.0/board/{boardId}/features) and check whether "Sprints" and "Backlog" are enabled. As already mentioned:
- No sprints and no backlog -> Kanban
- Sprints disabled and backlog enabled -> Kanplan
- Sprints and backlog enabled -> Scrum
- relates to
-
TOTEM-3388 Loading...