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