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

Some WebHook Variables not Working

XMLWordPrintable

      We provided WebHook variables so that users can include some information on the URL. However some of them is not working although documented.

      Variable mentioned on the documentation

      ${board.id} 
      ${issue.id} 
      ${issue.key} 
      ${mergedVersion.id} 
      ${modifiedUser.key} 
      ${modifiedUser.name} 
      ${project.id} 
      ${project.key} 
      ${sprint.id} 
      ${version.id}
      

      Variable showing when creating a new WebHook

      ${attachment.id}
      ${board.id}
      ${comment.id}
      ${issue.id}
      ${issue.key}
      ${mergedVersion.id}
      ${modifiedUser.key}
      ${modifiedUser.name}
      ${project.id}
      ${project.key}
      ${sprint.id}
      ${version.id}
      ${worklog.id}
      

      So far the tested working is only on the variable below:

      ${issue.id}
      ${issue.key}
      ${project.id}
      ${project.key}
      

      Steps to replicate

      1. Create a webhook and assigned one of the variables listed, eg attachment.id
      2. Create a request bin
      3. Fire an event that triggers the webhook configured above

      Expected Result

      Returning the attachment id on the ticket that triggers the event.

      Actual Result

      Empty Result returned

      Workaround

      There are no workaround for this, however, the changes will be capture in the body if the event is of the same type. Eg, attaching an issue will fire an update event and carries the information on the body of the request.

            Unassigned Unassigned
            rgee Richie Gee (Inactive)
            Votes:
            4 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: