how to automatically close tickets in ServiceNow once tickets are created in Jira

Kiff
Giga Expert

I want to create an automation process to close tickets in ServiceNow once the tickets are created in Jira. Basically, once there is a request in SN and a ticket is created, automatically a new request will be created in JIRA. So once the ticket is created in JIRA we no longer have to worry about the solution, JIRA will take care of that. So I need a process once after the ticket is created in JIRA the incident should close in ServiceNow

1 ACCEPTED SOLUTION

Nithish1
Tera Guru

Hi,

Do you receive Jira issue number in response? If yes, then write a before update business rule which closes the incident after you receive the Jira issue number.

When to run: Jira issue number field changes and is not empty

Action: set state to closed/resolved and set close codes and closed notes.

 Hope it helps. 

Thanks,

Nithish 

View solution in original post

8 REPLIES 8

Nithish1
Tera Guru

Hi,

Do you capture Jira issue number in response? 

Thanks,

Nithish

Harsh Vardhan
Giga Patron

you need to use jira api here and by using rest message you can solve it. 

here you need to use get and Post method in rest message.

refer the doc below to configure the rest message.

https://docs.servicenow.com/bundle/london-application-development/page/integrate/outbound-rest/task/...

Nithish1
Tera Guru

Hi,

Do you receive Jira issue number in response? If yes, then write a before update business rule which closes the incident after you receive the Jira issue number.

When to run: Jira issue number field changes and is not empty

Action: set state to closed/resolved and set close codes and closed notes.

 Hope it helps. 

Thanks,

Nithish 

Thanks Nithish.

Are you able to attach a screenshot of what the BR should look like?