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

Jira webhook doesn't send information about attachments when issue is created via email

XMLWordPrintable

      Summary

      The webhook in JIRA does not contain any information about the attachment if the issue was created using email. However, it does contain the attachment information if the issue was created using UI.

      Environment

      Jira Cloud

      Steps to reproduce.

      • Set up a webhook in JIRA for 'Issue Created' event.
      • Now create an issue using the JIRA UI in a way that the webhook event will be triggered.
      • Notice that in the JSON, there is attachment information present.
      • Now create another issue with the same attachment but using through email
      • Notice that in the JSON, there is no attachment information present
      • The issue created has the attachment present.

      (See attachments)

      On a side note :
      If issue is moved from one issuetype to another issue type that is sending information via webhook then also the attachment are not sent. But if those attachments are added after movement then they are sent via webhook.

      Expected Results

      The webhook's response should display the value for the attachment field.

      Actual Results

      An empty array is returned in the attachment's key.

      Workaround

      No workaround at the moment

        1. JSON when issue created from email.png
          JSON when issue created from email.png
          129 kB
        2. JSON when issue created from UI.png
          JSON when issue created from UI.png
          161 kB
        3. ssssss.txt
          1 kB
        4. Webhook configuration.png
          Webhook configuration.png
          74 kB

              Unassigned Unassigned
              rtandon@atlassian.com Ruchi Tandon (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: