ServiceNow - Upload Jira attachment to Incident

  1. Creata a Action

  2. Do not select any template

  3. Click Create

  4. Enter POST as URL

  5. Enter https://your_instance.service-now.com/api/now/attachment/upload

  6. Select Latest as Issue Attachment(s) option

  7. Add these form vars in the table

table_sys_id

{{issue.customfield_12301}}

table_name

incident

  1. Save the action

  2. To Test, simulate a case where the trigger send the iHub call or switch to All on Issue Attachmen(s) and click Test button and add an Issue.

Â