Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

how to create incident from servicenow instance to Jira instance using Rest

caffry
Kilo Guru

when i create an instance in servicenow instance it should create an instance in JIRA incidents..

can anyone help me out

1 ACCEPTED SOLUTION

Priyanka136
Mega Guru

Hi caffry,

1) Go to link - https://www.atlassian.com/software/jira

    Try it Free (Trial for 7 days only) - Go to Jira Software, Jira Service Desk - Create Your Jira account

2) Refer this link also :-https://developer.atlassian.com/cloud/jira/platform/jsapi/request/

https://developer.atlassian.com/server/jira/platform/rest-apis/

https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-api-3-universal-avatar-type-type-ow...

4) In Snow Instance , Go to - System Web Services - OutBound - Rest Message

5) New - Endpoint = https://<your site name>.atlassian.net/rest/api/3/user

6) Authentication Type - Basic Auth Profile

7) HTTP Request - HTTP Header - Name = Content-Type, Value = application/json

😎 Save - Go to HTTP Methods - Default Get already created - Go to New

9) Http Methods = GET, POST, PUT, PATCH, DELETE

10) If you are creating the user in jira from snow so for that use POST method

11) In HTTP Query Parameters - Give the Content (json format) - save

12) click on auto-generate variables

13) Copy Preview script usage code - paste it in Business Rule ( user table, before , insert) - save

14) Go to - User table - Fill the fields

15) Check it in Jira , whether the user is created or not.

Please let me know if you have any question.

I hope it works, Please mark it Correct or Helpful based on impact...!!!!!!

Warm Regards,

Priyanka

find_real_file.png

www.dxsherpa.com

 

View solution in original post

9 REPLIES 9

arielgritti
Mega Sage

Hello Caffry

Take a look to this JIRA & Servicenow integration by John James Andersen

http://www.john-james-andersen.com/blog/service-now/rest-based-servicenow-jira-integration-poc.html

 

Please, mark correct or useful if I helped you
Thanks
Ariel

i worked on that link but the incident is not being created in JIRA

 

find_real_file.png

 

find_real_file.png

 

find_real_file.png

I have the same configuration, any errores when try to create the incident?

The credentials are ok?

I see an space in the username, i don't know if that is a problem, but i have a user without space in the name.

 

Ariel

the JIRA incident in servicenow is not getting created When i click on new and enter the details.

And i do have a space in the username..

find_real_file.png