Hi All,
I want to trigger below the API call whenever the Issue is created or Updated om Jira.
please guide me where I have to configure the REST API settings
In Body section i want to send the Issues details
var request = new sn_ws.RESTMessageV2();
request.setEndpoint('https://dev496691.service-now.com/api/93513/from_jira');
request.setHttpMethod('POST');
//Eg. UserName="admin", Password="admin" for this code sample.
var user = 'Test';
var password = 'Test';
request.setBasicAuth(user,password);
request.setRequestHeader("Accept","application/json");
request.setRequestHeader('Content-Type','application/json');
request.setRequestBody();
var response = request.execute();
gs.log(response.getBody());
Thanks
Hello @Ramesh Ranganathan ,
If I understand correctly you are trying to integrate ServiceNow with Jira Cloud using REST API. Is this correct?
If this is correct then please let me know so I can move this question to the right collection (marketplace and integrations), otherwise please provide more details on what you are trying to achieve.
However, generically speaking, you can set an automation rule (global or project specific) that sends a request to the desired endpoint every time an issue is created or updated in your Jira instance. For details on how to do so, please see:
For other ways to integrate with ServiceNow you can also see below links:
Cheers,
Dario
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.