In Jira 10, for the “Issue Link” REST API, the “Content Type” in the Response Header has changed from “application/json;charset=UTF-8” to “text/html;charset=UTF-8"

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • None
    • Affects Version/s: 10.0.0, 10.0.1
    • Component/s: REST API
    • 10
    • 1
    • Severity 2 - Major

      Issue Summary

      This is reproducible on Data Center: yes

      In Jira 10, for the “Issue Link” REST API, the “Content Type” in the Response Header has changed from “application/json;charset=UTF-8” to “text/html;charset=UTF-8" when compared with Jira 9.

      Steps to Reproduce

      1. Setup a Jira 10 instance.
      2. Create a Project. Then create 2 issues in that Project.
      3. Send a REST Post Call as below to link the two issues.
        REST EndPoint is- 
        rest/api/2/issueLink 

        As seen in the Response Header, the "Content type" is "text/html;charset=UTF-8"

       

      In Jira 9.x

      When the same Rest End Point is checked on a Jira 9 version instance, the "Content type" in the Response Header is "application/json;charset=UTF-8"

       

      Expected Results

      “Content Type” in the Response Header for “Issue Link” REST API is expected to be "application/json;charset=UTF-8"

      Actual Results

      “Content Type” in the Response Header for “Issue Link” REST API is returned as “text/html;charset=UTF-8"

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

        1. image-2024-09-26-17-01-26-607.png
          295 kB
          Karan Ahuja
        2. image-2024-09-26-17-02-18-388.png
          226 kB
          Karan Ahuja

            Assignee:
            Unassigned
            Reporter:
            Karan Ahuja
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: