Issue with Jira Webhook and ServiceNow Scripted Rest API Integartion: Support Needed

gmihir186
Kilo Explorer

I have Jira with ServiceNow using REST Message i have shared the snap of scripted REST API and the JIRA webhook configuration for your reference.
However, the endpoint which had given in webhook, its not getting hit or triggered. Could you please review the configuration and help me understanding what i am missing.

3 REPLIES 3

Shruti
Giga Sage

Hi

Can you also share screenshot of Security section on Scripted REST resource?

Try to uncheck Requires ACL authorization and Requires authentication checkboxes 

yashkamde
Kilo Sage

Hello @gmihir186 ,

 

Did you done necessary configuration on the subflow(ootb comes with jira plugin) i.e "Copy of Process Jira Webhooks" :

Screenshot 2026-02-25 111552.png

 

 

Also adding that subflow into decision table which is also Ootb :

Screenshot 2026-02-25 111603.png

 

If you had done already, plz check the executions is the payload triggering or any error coming..

If my response helped mark as helpful and accept the solution.

Sandesh Powar
Mega Guru

Hi @gmihir186 ,

From your screenshots, the issue seems to be related to the endpoint configuration and how the Scripted REST resource is handling the path parameters.

1. Verify the Webhook URL:

But in Jira webhook, you configured:


Make sure the webhook URL exactly matches the Scripted REST resource path format:
https://<instance>.service-now.com/api/<namespace>/<api_name>/<operation>/<id>
The {operation} value in the URL must match what your script is checking (for example, createJiraIssue).



2. Check the Condition in Script:

Your script checks:

if(operation.indexOf('JiraIssueCreation') > -1)
 

But your Scripted REST Resource Name is createJiraIssue, not JiraIssueCreation.

If the operation string doesn’t match exactly, your condition won’t execute.


If your script is validating something like:
if (operation == 'createJiraIssue')
then your webhook must pass that exact value in the URL. Any mismatch will prevent the logic from executing.

3. Ensure HTTP 200 Response Is Returned
Make sure your Scripted REST API sets a proper response:
response.setStatus(200);
Otherwise Jira may treat the webhook as failed even if logic runs.

4. Authentication
If authentication is required on the Scripted REST API, confirm Jira is sending valid credentials. Otherwise, the endpoint will not be triggered.

5. Check Logs
Review:
System Logs → System Log → All
and
System Logs → REST API Logs
to see whether the request is reaching ServiceNow.

Most commonly, this type of issue is caused by URL mismatch or authentication configuration.

 

If my response helped answer your question, please feel free to mark it as Correct and close the thread 🔒 — it helps other community members find the solution faster 🙌🙂

Regards,
Sandesh Powar