Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Navigate to iHub Cloud.

  2. Click Integrations.

  3. Click "New Integration."

  4. Select a Trigger. Choose an event that initiates the automation, such as "Issue Created" or "Issue Updated."

  5. Click Save.

  6. Add a Web Action. Click "Add New Action" and select "Web Action."

  7. Enter the Target URL. Use the following format, {{issue.key}} will be replaced for the target issue's key: https://THE_ATLASSIAN_SITE.atlassian.net/rest/api/3/issue/{{issue.key}}/attachments

  8. Select POST Method.

  9. Configure Credentials (if needed). If you haven't already added credentials for the target Jira site, enter them here. You can find instructions for creating credentials in the iHub documentation: Create Credentials

  10. Add Header: X-Atlassian-Token value: no-check

  11. Set Body Format to Form-Data. In the "Body" section, select "form-data."

  12. Enter the Body Content. Paste the following JSON code, replacing {{attachments.unsent}} if you only want to send unsent attachments:

...