...
Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Overview
What does the integration offer?
Use the Freshservice Integration to forward Freshservice alerts to Jira Service Management. Jira Service Management determines the right people to notify based on on-call schedules– notifies via email, text messages (SMS), phone calls, and iOS & Android push notifications, and escalates alerts until the alert is acknowledged or closed.
How does the integration work?
When a new ticket is created in Freshservice, an alert is automatically created in Jira Service Management through integration.
When the status of a triggered event is changed from 2 or 3 to 4 or 5, Jira Service Management automatically closes the alert.
If Send alert updates back to Freshservice is selected, actions for Freshservice are run in Freshservice when a chosen action is run in Jira Service Management for alerts created by the Freshservice integration.
If Create Freshservice tickets for Jira Service Management alert is selected, actions for Freshservice are run in Freshservice when a chosen action is run in Jira Service Management for alerts with a different source than the integration itself.
For details on action mapping, see https://operations-help.atlassian.net/wiki/spaces/OPSHELP/pages/4259939/Integrate+with+Freshservice#Map-alert-actions.
Set up the integration
Freshservice is a bidirectional integration. Setting it up involves the following steps:
Add a Freshservice integration in Jira Service Management
Map alert actions
Configure the integration in Freshservice
Add Freshservice integration
Info |
---|
If you're using the Free or Standard plan in Jira Service Management. To access the feature through Adding an integration from your team’s operations page makes your team the owner of the integration. This means Jira Service Management only assigns the alerts received through this integration to your team. |
To add a Freshservice integration in Jira Service Management:
Go to your team’s operations page.
On the left navigation panel, select Integrations and then Add integration.
Run a search and select “Freshservice”.
On the next screen, enter aname for the integration.
Optional: Select a team in Assignee team if you want a specific team to receive alerts from the integration.
Select Continue.
The integration is saved at this point.Expand the Steps to configure the integration section and copy the URL.
You will use this URL while configuring the integration in Freshservice later.Select Turn on integration.
The rules you create for the integration will work only if you turn on the integration.
Configure the integration in Freshservice
Expand | ||
---|---|---|
| ||
10. Add an Action for the event and select Trigger Webhook. 11. Paste the URL you copied while adding the integration in Jira Service Management into Callback URL. 12. Select "POST" for the request type, "JSON" for encoding, and "Simple" for content. 13. Paste the JSON from here. 14. Select Done. 15. Select Activate. 16. Add another event and set the following rule: "Note is Added" of type "Private" (for notifications on private note). 17. Add an Action for the event and select Trigger Webhook. 18. Paste the URL you copied while adding the integration in Jira Service Management into Callback URL. 19. Select "POST" for the request type, "JSON" for encoding, and "Simple" for content. 20. Paste the JSON from here. 21. Select Done. 22. Select Activate. |
Expand | ||
---|---|---|
| ||
A Dispatch'r rule is needed to send Webhook notifications for new tickets, and an Observer rule to send notifications on ticket actions (such as add note, close, reopen, and so on). Add Dispatch'r rule
Add Observer rule
|
Map alert actions
Define mappings between Jira Service Management actions and Freshservice actions.
For alerts created by Freshservice
In the Send alert updates back to Freshservice section, map Jira Service Management actions to Freshservice actions when the alert source is Freshservice (the alert is created by the integration itself). For example, you can add a public comment to the Freshservice ticket when the alert is acknowledged. To do this, define If alert is acknowledged in Jira Service Management, a public comment to the ticket in Freshservice.
For the other Jira Service Management alerts
In the Create Freshservice tickets for Jira Service Management alerts section, map Jira Service Management actions to Freshservice actions when the alert source is NOT Freshservice (the alert source is some other integration).
Map one Jira Service Management action to create a ticket in Freshservice action. The Jira Service Management action does not have to be alert is created; you can select from a list of Jira Service Management actions for this mapping. However, this rule won’t work if you use SSO to log in to Freshservice.
The actions a tag is added to the alert and a custom action is executed on alert slightly differ from the rest of the actions. When you select either, you will see an extra field to specify for which tag or for which custom action this mapping should work.
You can enter multiple comma-separated tags. If you enter multiple tags, the mapping will work if the alert has one or more of the specified tags. Leave the tags field empty if you want the mapping to work for any tag.
If you map a Jira Service Management action to multiple Freshservice actions, you will get an error except for the a tag is added to the alert and a custom action is executed on alert actions. You can save multiple mappings for these actions because they will differ by the given tags and the given custom action names.
Sample payload sent from Freshservice
Expand | ||
---|---|---|
| ||
|
Jira Service Management parses this payload as follows:
Expand | ||
---|---|---|
| ||
|
...