It looks like the priority field in poker stories gets silently ignored when I try to create a new poker game via the API. It happends for both endpoints that can create games, i.e:
POST /users/{userId}/battles
POST /teams/{teamId}/users/{userId}/battles
There is no error message and the response body that is supposed to show the created game even contains the correct priority for the plans. However, when I view the game in the browser or retrieve the battle from the GET /battles/{battleId} endpoint, the priority of the plans is reset to 99 (no priority).
How To Reproduce
Create a new poker game via the API, e.g. using the POST /users/{userId}/battles endpoint. This body payload should work as an example:
Side note: Setting the priority does work when creating the poker story separately, i.e. using the POST /battles/{battleId}/plans endpoint. This is currently my workaround.
Contact Details
No response
What happened?
It looks like the
priority
field in poker stories gets silently ignored when I try to create a new poker game via the API. It happends for both endpoints that can create games, i.e:POST /users/{userId}/battles
POST /teams/{teamId}/users/{userId}/battles
There is no error message and the response body that is supposed to show the created game even contains the correct priority for the plans. However, when I view the game in the browser or retrieve the battle from the
GET /battles/{battleId}
endpoint, the priority of the plans is reset to 99 (no priority).How To Reproduce
POST /users/{userId}/battles
endpoint. This body payload should work as an example:GET /battles/{battleId}
using the game ID from the previous API response. The priority of the plan is now 99.Self Hosted?
No
Version
Latest
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Code of Conduct