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

XMLWordPrintable

    • 0
    • 9

      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.

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

              Created:
              Updated: