Uploaded image for project: 'Jira Platform Cloud'
  1. Jira Platform Cloud
  2. JRACLOUD-65573

CORS not supported in JIRA Cloud REST API but not mentioned in documentation

      Summary

      According to https://docs.atlassian.com/jira/REST/cloud/ ...

      Note, JIRA itself uses cookie-based authentication in the browser, so you can call REST from Javascript on the page and rely on the authentication that the browser has established. To reproduce the behavior of the JIRA log-in page (for example, to display authentication error messages to users) can POST to the /auth/1/session resource.

      It is mentioned in documentation that Javascripts can be used to fire REST Calls to Cloud instances but in truth this is wrong because attempting to fire REST Calls from Javascripts will return errors regarding CORS.

      No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. The response had HTTP status code 401.
      

      Will be best to keep this portion updated so that it doesn't confuse users.

            [JRACLOUD-65573] CORS not supported in JIRA Cloud REST API but not mentioned in documentation

            Dario B made changes -
            Link New: This issue is related to JRACLOUD-59724 [ JRACLOUD-59724 ]
            Dario B made changes -
            Link New: This issue is related to JRACLOUD-30371 [ JRACLOUD-30371 ]
            Monique Khairuliana (Inactive) made changes -
            Workflow Original: JIRA Bug Workflow w Kanban v6 - Restricted [ 1637003 ] New: JAC Bug Workflow v3 [ 3354395 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Krzysztof Kercz made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Verified [ 10005 ] New: Resolved [ 5 ]
            Dario B made changes -
            Link New: This issue relates to JRACLOUD-30371 [ JRACLOUD-30371 ]
            Eric S (Inactive) made changes -
            Component/s New: Ecosystem [ 53294 ]
            Component/s Original: Ecosystem - REST API [ 46576 ]
            Robin Reidl (Inactive) made changes -
            Labels Original: api New: api triaged
            Robin Reidl (Inactive) made changes -
            Labels Original: affects-cloud triaged New: api
            Andrew made changes -
            Assignee Original: Andrew [ alui ] New: Eve [ istankiewicz ]
            jonah (Inactive) made changes -
            Component/s New: Documentation - All [ 46590 ]
            Component/s New: Ecosystem - REST API [ 46576 ]
            Component/s Original: Documentation - All [ 10120 ]
            Component/s Original: Ecosystem - REST API [ 13170 ]
            Key Original: JRA-63754 New: JRACLOUD-65573
            Project Original: JIRA (including JIRA Core) [ 10240 ] New: JIRA for Cloud [ 18514 ]

              istankiewicz Eve (Inactive)
              vchin Vincent Chin (Inactive)
              Affected customers:
              6 This affects my team
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: