Skip to end of metadata
Go to start of metadata

POST /import/{issue}/attachment

Import attachment, preserve author and created date, don't change issue 'Updated' field.

POST /rest/import/{issue}/attachment?{test}&{authorLogin}&{group}&{created}&{files}

  • Parameters:
    Name Type Description
    issue string Issue ID to attach files to.
    test boolean If true, attachment won't be saved, but the request will be verified.
    authorLogin string Attachment submitter login
    group string Attachments visibility group
    created instant Attachment creation time
    files files List of files to attach to an issue.
  • To define author and creation date, 'Low-Level Administration' permission is required.
  • Files to attach are sent as request body using 'multipart/form-data' content type.

Sample

  • Request
  • Response
Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.