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

As a user, I want to be able to create an issue with an attachment via the REST API

XMLWordPrintable

    • 0
    • We collect Jira feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

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

      Problem Definition

      The current REST API doesn't allow users to add an attachment while creating the issue.

      Suggested Solution

      Add a JSON field to enter a base64-encoded attachment when hitting the Create issue endpoint.

      Workaround

      1. Create an issue and capture the issue key.
      2. Call the Add attachment endpoint.

      Note(s)

      The workaround doesn't help if the workflow has a validator to ensure there's an attachment at the time of issue creation.

              Unassigned Unassigned
              adridi Arbi Dridi
              Votes:
              5 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated: