Issue Summary
Sending either PUT (Update Sprint) or POST (Partially Update Sprint) REST API request, including the originBoardId info, doesn't update the board details.
Even though this info is in the Request Body section and should be updatable, it seems like the request is ignored and nothing changes.
Steps to Reproduce
- Create two Scrum boards (A & B)
- Create a Sprint in board A (Sample Sprint)
- Imagine that the BoardID for board A is 1, and the BoardID for board B is 2. Prepare the following REST API request to update the Sprint's (Sample Sprint) originBoardID from A to B:
Request: <Jira_Base_URL>/rest/agile/1.0/sprint/1 JSON payload: { "name": "Sample Sprint", "state": "active", "startDate": "2025-03-24T02:51:06.809Z", "endDate": "2025-04-07T03:11:06.809Z", "originBoardId": "2" }
Expected Results
The expected response would be:
JSON payload:
{
"id": 1,
"self": "<Jira_Base_URL>/rest/agile/1.0/sprint/1",
"state": "active",
"name": "Sample Sprint",
"startDate": "2025-03-24T02:51:06.809Z",
"endDate": "2025-04-07T03:11:06.809Z",
"activatedDate": "2021-03-24T02:51:06.809Z",
"originBoardId": 2,
"synced": false,
"autoStartStop": false
}
Actual Results
The actual response is:
JSON payload:
{
"id": 1,
"self": "<Jira_Base_URL>/rest/agile/1.0/sprint/1",
"state": "active",
"name": "Sample Sprint",
"startDate": "2025-03-24T02:51:06.809Z",
"endDate": "2025-04-07T03:11:06.809Z",
"activatedDate": "2021-03-24T02:51:06.809Z",
"originBoardId": 1,
"synced": false,
"autoStartStop": false
}
Workaround
As a workaround, you can update the RAPID_VIEW_ID column for the Sprint in the AO_60DB71_SPRINT DB table:
update "AO_60DB71_SPRINT" set "RAPID_VIEW_ID" = 2 where "ID" = 1 and "RAPID_VIEW_ID" = 1;
ID is the Sprint ID, that you can get from the REST API responses shown above
The SQL query was written and tested on PostgreSQL, and might need to be amended if Jira is using a different type of database
- is related to
-
JRACLOUD-90726 Partially Update Sprint REST API not updating the originBoardId
-
- Closed
-