In this new post, we want to try to integrate the fantastic Service Desk tool called Freshdesk with our usual Jira Software server on premise system.

The integration now is very easy, but has some security problems in the Jira side. But those problems can be solved doing some extra config in the Jira system.

First we need to go to our Freshdesk system and go to the Administration/Settings section. And go to the “Apps” section.

Captura de pantalla 2019-07-24 a las 11.28.34

Now search the Jira plugins. At this moment there are 3 availables. We select the first one (Jira Plus integration from Freshdesk official team)

Captura de pantalla 2019-07-24 a las 11.31.11

Now we are ready to configure! Just put your Freshdesk address/domain url (in my case is https://mraddon.freshdesk.com) and fill your API key from Freshdesk. (see here more info). (Basically is on your profile section, in the up-right corner)

IzEqoyaV84d99UhVYRAeShtp1r-Lk_7nZg-1

Now we continue with the settings, we can let default config in the next section (see the below picture).

Captura de pantalla 2019-07-24 a las 11.35.45

In the next section (Jira Account Configuration), we must fill the server name of our Jira, a Jira Admin user and password. The user of the integration must be Admin because it try to install a Webhook in our Jira once finished the integration wizard. The configuration can be setup for Jira Server or Jira Cloud.

Captura de pantalla 2019-07-24 a las 11.36.52

Once filled the auth settings, you must configure the projects that will be available to be synced with Freshdesk and the custom fields and system fields that you want to see in the integration panel with Jira in the Freshdesk ticket user interface. See the example picture blow.

Captura de pantalla 2019-07-24 a las 11.41.27

Remember also to map the possible Freshdesk statuses with the Jira possible workflow statuses.

Now you are ready to start. Just click in “Install” button.

Captura de pantalla 2019-07-24 a las 11.41.46

Let’s do a try to the integration. We start in Freshdesk, we need to send an existent ticket from Freshdesk to Jira. In the right part of the user interface of the Freshdesk ticket, search the Jira panel. You will be ready to create new issues and to link existent issues in Jira to the Freshdesk ticket. Push in “Create” option

Captura de pantalla 2019-07-24 a las 11.42.22

Captura de pantalla 2019-07-24 a las 11.48.17

Captura de pantalla 2019-07-24 a las 11.48.37

Select the project, fill the fields and create the Issue!

Captura de pantalla 2019-07-24 a las 11.43.54

Captura de pantalla 2019-07-24 a las 11.43.00

Just comment the Jira ticket, and you will see the same comment in Freshdesk.

Captura de pantalla 2019-07-24 a las 11.44.42

Captura de pantalla 2019-07-24 a las 11.44.21

Captura de pantalla 2019-07-24 a las 11.42.08

We can link tickets, just searching by Key.

Captura de pantalla 2019-07-24 a las 11.46.12

It’s a powerful integration, but has some security problems, for example, the Webhook created in Jira has no restriction in the projects scope, and this is very ugly (and we have selected in the integration the projects that we want…).

Captura de pantalla 2019-07-24 a las 11.46.47

In my opinion, the Jira admin for security reasons must restrict the Webhook project scope introducing a JQL query like in the picture.

Captura de pantalla 2019-07-24 a las 11.47.28

(Exercise) Pending to test… what happen if we change the permissions of the user of the integration to ones more restricted (without Jira Admin access of course). We know that the integration installs a “hard” Webhook the first time, but it’s necessary to have Admin rights in Jira to create tickets? In my opinion no, what happen if we restrict the user?

By MrAddon

Advertisements
Posted by:.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s