SecurID® Governance & Lifecycle Blog

Subscribe to the official SecurID Governance & Lifecycle community blog for information about new product features, industry insights, best practices, and more.

ITSM Integration: HPSM and JIRA as 2 more REST examples

MichaelBluteau
Employee
Employee
1 0 407

Here are 2 more AFX REST(curl) connectors in Draft state that can be used in a similar workflow like the one I published for Zendesk or RemedyForce, or for simple fulfillment.

 

I will likely update these in the near future.

 

pastedImage_0.png

Create Account:

curl -k -D- -u MyAccount:MyPassword -X POST --data "{\"fields\":{\"project\":{\"id\":\"10010\"},\"summary\":\"${Account}\",\"description\":\"${Comment}\",\"issuetype\":{\"id\":\"3\"},\"components\":[],\"versions\":[{\"id\":\"12645\",\"name\":\"6.9\",\"archived\":false,\"released\":true,\"releaseDate\":\"2014-08-15\"}],\"components\":[{\"self\":\"https://jira.aveksa.lab.emc.com/rest/api/2/component/10001\",\"id\":\"10001\",\"name\":\"Access Requests\",\"description\":\"New Access Request feature\"}],\"assignee\":{\"self\":\"https://jira.aveksa.lab.emc.com/rest/api/2/user?username=mbluteau\",\"name\":\"mbluteau\",\"emailAddress\":\"mbluteau@aveksa.com\",\"avatarUrls\":{\"16x16\":\"https://jira.aveksa.lab.emc.com/secure/useravatar?size=small&avatarId=10152\",\"48x48\":\"h... Bluteau\",\"active\":true}}}" -H "Content-Type: application/json" https://10.100.249.70/rest/api/2/issue > /root/AFXREST.out

 

pastedImage_1.png

Create Account:

curl -k -D- -u RSAWeb.Services:bonjour456 -X POST --data  "{\"CustInteraction\":{\"ContactFirstName\":\"Max\",\"ContactLastName\":\"Headroom\",\"Language\":\"fr\",\"ContactTitle\":\"\",\"ContactEmail\":\"max.headroom@acme.com\",\"ContactEmployeeNo\":\"664809\",\"ContactPhone\":\"514-555-5432\",\"ContactExtension\":\"1234\",\"AlternateContactFirstName\":\"\",\"AlternateContactLastName\":\"\",\"AlternateEmail\":\"\",\"AlternatePhone\":\"\",\"AlternateE... - Low\",\"Category\":\"service catalog\",\"Subcategory\":\"service catalog\",\"ProductType\":\"service catalog\",\"ProblemType\":\"\",\"CallCode\":\"Service Portal\",\"CauseCode\":\"service catalog test\",\"ResolutionCode\":\"\",\"BriefDescription\":\"theBriefDescription\",\"Description\":\"Long Description : ${Account}\",\"VirusName\":\"\"}}" -H "Content-Type:application/json" http://10.177.66.11:14000/SM/9/rest/custinteraction/ > /home/oracle/ftp/logfile.out