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

Add ability to set attachment name and other properties when using REST to add an attachment

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Won't Do
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      NOTE: This suggestion is for JIRA Cloud. Using JIRA Server? See the corresponding suggestion.

      The attachments POST resource in the REST API (http://docs.atlassian.com/jira/REST/latest/#id255514) takes a file argument that contains the data, but no other parameters such as:

      attachment filename
      attachment creation date
      attachment author

      This means that attachments added this way appear ugly - just a long filename and no author or date. The long filename is the name of the file as it was on my local machine, e.g. "/Users/mdoar/..."

      Why would I use this REST resource anyway? CSV import of attachments into OnDemand was not working so I to upload the attachments separately.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              73d805a2526b MattS
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: