Last updated by: Knowledge Engineering Team on: 3/2/2021 2:30 PM
On this page
Creating an interface with Jira
Configuring Jira to integrate with Movidesk
Associating tickets between instances
The Movidesk integration with Jira can be used to automatically create Jira issues for tickets that meet specific conditions in Movidesk. Notes added in Movidesk will automatically be added to the Jira issue, and comments added in Jira will be added as internal notes on the Movidesk ticket.
If you have not read the Integrating Movidesk to other systems article, we strongly recommend reading that article first. It covers basic concepts and terminology that are necessary for configuring interfaces in the Movidesk integration center.
Creating an interface with Jira
See the Integrating Movidesk to other systems article to learn how to grant permission to access the Integration center.
To a create an interface with Jira, go to Configurations > Integration center. Select the ✚ icon to create a new interface, enter a name for this interface, then select Jira as the integration type to begin the setup.
|
|
To use all the functionality available in this standard integration you must be using Jira version 7.2.9 or higher. |
Authentication info
Enter your Jira URL and an administrator user for authentication. We recommend creating a unique Jira user for the integration, as this user will be listed as the creator on any issues created in Jira by the interface.
Enter the API token:
- If you are using Jira Server (self-hosted), this will be the user’s password.
- If you are using Jira Cloud, the API token can be found here: https://id.atlassian.com/manage/api-tokens
See this Atlassian article for more information on obtaining your Jira API token.
Integration settings
Select whether to create issues automatically by selecting Create issues automatically. Movidesk will only create issues in Jira when the conditions defined in the Conditions section are satisfied.
If disabled, agents will be able to manually create an issue in Jira from within Movidesk, or associate the ticket with an existing issue.
|
|
Agents will only be able to create and associate issues when the conditions in the Conditions section are satisfied. |
Select whether to send status updates. If disabled, only the current ticket status when creating the issue, and status updates that reopen the ticket, will be sent by the interface.
Select the default project and issue type for issues created in Jira.
Conditions
Define ticket conditions to determine which tickets this interface can be applied to.
See the Conditions article for more information on how to configure conditions.
Value mapping
Map values between Jira and Movidesk, including which custom fields in Jira are equivalent to custom fields in Movidesk.
Select the ✚ icon to add new value pairs, and the trashcan icon to remove mapped value pairs.
|
|
The user in Jira user will be the Assignee on the issue created in Jira. They do not need to be the same person as the assigned agent in the Movidesk ticket. |
Configuring Jira to integrate with Movidesk
When you save the Jira interface you created, Movidesk will automatically create a webhook in Jira to send new comments to the associated Movidesk ticket as an internal note.
You can view this webhook by going to > System in Jira and selecting WebHooks under Advanced in the sidebar. The webhook will be named “Movidesk.”
|
|
Only new comments will be sent to the Movidesk ticket. Jira’s webhooks are currently unable to appropriately identify the comment when a comment is edited, so updates to comments cannot be sent to the corresponding Movidesk ticket note.
We recommend adding any corrections or addendums to a comment in a follow-up comment in the Jira issue. This will ensure that any relevant new information is sent as a ticket note to the associated Movidesk ticket. |
The interface between Movidesk and Jira is ready for use, but if you would like to send status updates from Jira to Movidesk you will need to configure a Trigger a Webhook post function in Jira for each status transition. The post functions will trigger the Movidesk webhook to update the Movidesk ticket status when the issue status is changed in Jira.
To configure the post functions in Jira, go to > Issues and select Workflows in the sidebar. Then select the workflow applied to the relevant projects.
|
|
To see which workflow is applied to which projects, look at which Workflow schemes are listed under Assigned Schemes. Then select Workflow schemes in the sidebar and see which projects are listed under Projects for that workflow scheme. |
Select Edit under Actions to configure the workflow. Then select a transition to edit it—note that you will need to perform this step for each of the relevant transitions.
After selecting the transition, scroll down and select Post functions, then select Add post function.
Select the Trigger a Webhook post function, then select Add. When prompted to a select a webhook, select the “Movidesk” webhook, then select Add.
After adding the post function, select Publish at the top of the screen.
Repeat this process for each application Transition.
You can also reference this Atlassian article for a more detailed guide on how to configure post functions in Jira.
Watch points
Data on Category and Priority in the Movidesk ticket will only be sent when the issue is first created or associated in Jira. Any subsequent changes will not be sent to Jira.
Data on custom fields in the Movidesk ticket will only be sent when the issue is first created or associated in Jira. However, updates to mapped field in Jira will be sent over to the original ticket in Movidesk.
Attachments added to the ticket in Movidesk will be added to the Jira issue. However, attachments added to the issue in Jira will not be sent to Movidesk.
Creating an issue in Jira
To create an issue in Jira, the ticket in Movidesk must satisfy the conditions established in the Interface settings.
If Create issues automatically is disabled, you can manually create an issue in Jira from within the ticket you want to send to Jira. In the ticket form, select Create issue inside the Jira box, which can be found below the Public and Internal ticket type buttons.
Update any of the mapped values if appropriate, then select Save to create the issue in Jira.
Associating tickets between instances
To associate a ticket with an existing issue in Jira, the ticket must satisfy the conditions established in the Interface settings and the Create issues automatically parameter must be disabled.
In the ticket form of your ticket, select Associate issue inside the Jira box, which can be found below the Public and Internal ticket type buttons.
Enter the Jira issue Key and select Save to associate the ticket with the Jira issue.