I'm trying to write an add-on that utilizes the information available on the burndown chart. Through extensive googling (because there's no docs on these endpoints), I was able to find this REST endpoint that returns the data I want
/rest/greenhopper/1.0/rapid/charts/scopechangeburndownchart?rapidViewId=1234&sprintId=5678
That works through manual testing in Postman, however, when I try to test it in my add-on I get an error saying
Failed to validate origin
I can connect to the standard JIRA REST API just fine, so I'm guessing there's an issue with hitting the greenhopper API.
Is there a "standard" JIRA REST endpoint that has this data (I can't find one in the documentation) or is there a way to allow my add-on to hit that endpoint?