Hey,
I've been experimenting with Jira Software Cloud REST API a bit lately.
When I query '/rest/agile/1.0/board/1/epic' I get all my epics displayed correctly. They all contain 'self' URL, e.g. '/rest/agile/1.0/epic/10000' (alongside id, key, and summary). When I try to access that URL I get the following response:
{
"errorMessages": [
"The requested epic cannot be viewed because it either does not exist or you do not have permission to view it."
],
"errors": {}
}The epic definitely exists and I do have access to it though, because the previous ('/board') query displayed it just fine! I get the same response when I try to access issues in the epic ('/rest/agile/1.0/epic/10000/issue').
Is there anything I missed here? According to the documentation both endpoints require same permissions scope, so if one of them works the other should too.
I'll be grateful for any tips!
Cheers,
Piotr