How to get sprint data in Jira apps?


I am trying to develop an application that will generate additional statistics for a sprint.

As a first step I planned to give users a Select with a list of sprints. In my forge application i’ve used endpoint /rest/agile/1.0/board/{boardId}/sprint to do this.

const getSprints = async () => {
    const result = await api

    return await result.json().then(data => {
        return data;

However i get error “OAuth 2.0 is not enabled for this method.”. Googling leads to the following feature request

Is there any way to solve my task (working with sprints). Can i do it with Atlassian connect?

Welcome to the Atlassian developer community @KonstantinEnbaev,

You are correct about the limitation of Forge for working with Jira Software-specific concepts. Forge is built on OAuth 2, so we need that issue addressed before Forge is a fit.

You can call the sprint endpoint and other Jira Software REST APIs from Atlassian Connect.