Hi there, I’ve been experiencing some issues with including query parameters in my Forge App. According to this endpoint here, to get all sprints in a board, I have the option to pass in query parameters, like so. I would like to obtain all of the current active and future sprints in a board.
const route = route`/rest/agile/1.0/board/{boardId}/sprint?state=active,future`
const res = api.asUser().requestJira(route, {
method: "GET",
method: req.method,
headers: {
"Content-Type": "application/json",
},
})
This gives me the error in the title, but if I were to remove query params, the endpoint would simply fetch all sprints in the board with success. I’m a bit confused by the different authentication methods in the documentation, could anyone simplify it for me? Am I using the wrong authentication method here?
Best regards,
Zach Khong