Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-27637

REST issue get no longer shows attachments information

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Answered
    • Icon: Medium Medium
    • None
    • 5.0.1, 6.3.12
    • JIRA 5.0.1
      Centos 6.2
      Tomcat 6.0.32
      Java 1.6.0_24

      behind HTTPD 2.2 to run Https over AJP 1.3.

      Both installation (prod and test) uses all the same settings above except for the JIRA version.

      we have a JAVA application that's using the REST api on JIRA 4.4.3. I'm testing that Java application on JIRA 5.0.1 (on a testing system, same settings, just did an upgrade).

      All is working, but the REST issue get is no longer providing the attachments information:

      the rest get call is https://10.116.147.51/jira/rest/api/latest/issue/156510
      I've tried with a limited account and and admin account, same result.

      According to the API doc in http://docs.atlassian.com/jira/REST/latest/#id162192, this is the correct call and the example shown in the call shows an example of the attachment JSON block.

      There doesn't seem to be another REST call to access this resource. Am I missing anything or is there an actual issue in JIRA 5.0.1 ?

      Resolution

      Check to see if the "Attachment" field was is to "Hide" in the default field configuration. There is more information on that found here

        1. MKTINT-4950-jira-5.0.1.json
          5 kB
        2. MKTINT-4950-jira4.4.3.json
          6 kB
        3. jira.txt
          0.0 kB
        4. issue-137981-fields_attachment.json
          0.2 kB
        5. attachment-38102-jira5.0.1.json
          0.6 kB
        6. attachment-38102-jira4.4.3.json
          0.5 kB

            mquail Matt Quail (Inactive)
            f4a8a46ac6e3 Johan Fischer
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:
              Resolved: