Hi,
I am trying to display the issues of a Jira project in my Atlassian Connect Express application written in react. Could you please help point me in the right direction on how to do this?
I have followed this "Build a Jira app using a framework" tutorial and the application deploys and connects successfully, showing my react app through the generalPages module.
I assume I access the issues through https://simula.atlassian.net/rest/api/3/issue/<name of the issue> with a get request, which I will then save as a variable that I can access through my react app, but I am not sure in which file I should be doing this or what the precise method is. Ideally I would want to access all the issues with one get request, but I am not sure how I would do this. I get status code 405 when I try to access .../api/3/issue without any specified issue name.
In most of the tutorials I have followed on express.js, the data is both accessed and provided through the same project, and I might be mixing up my routing and requests for retrieving data.
I am sorry if this is more about Express.js than Atlassian Connect Express, I am very confused as of where to look for information about this. Any help would be greatly appreciated!