I am new in all of this so I have a some basic questions for a start with a Jira Cloud development.
- Can anyone make a basic example of sending GET and POST requests using AP.request(eg /rest/api/3/dashboard) --> ( for example in Issue Glance module)
- Where should the plugin code be placed in? public/js/addon.js or routes/index.js/? AP.request works only in addon.js and not in routes, but
when I tried that I get a lot of 403 errors and I am confused about sending context variables to hbs files.
- How to authenticate AP requests, do I need to auth them at all using jwt?
- How to access Jira Issue details page