JIRA Integration

JIRA Integration

We currently have a custom menu script for integrating with Jira in our system. However, this setup requires manual initiation of the script for each individual request. This manual step has become burdensome, especially when our technicians are required to create a Jira request for every incident falling under specific categories, subcategories, and items.

To streamline and automate this process, we can utilize the guidance provided in this article. It's important to note that this article is divided into two parts. The first part focuses on creating a Jira ticket, while the second part deals with updating the created Jira ticket. Both of these parts can be configured separately to address specific needs, or they can be used in combination to create a comprehensive solution. This approach will reduce the need for manual intervention and enhance efficiency in managing Jira integration within our system.

Prerequisites:
Create an additional request field for storing the Jira ticket ID, and make sure to add this field into the necessary templates.
The script uses the request subject and the content in the description to generate the Jira ticket.

Steps to configure
  1. Download the attached scripts and login to SDP Portal.
  2. Goto Admin > Developer Space > Global Functions > New:  Copy paste the contents from GF_JIRA_configuration.txt
    1. Update the url and password (Base64 Encoded)
    2. For Jira OP, use the username and password. For Jira Cloud, use the username and API token.
    3. You can generate the base64 password using: https://mixedanalytics.com/tools/basic-authentication-generator/

  3. Goto Admin > Developer Space > Request Custom Function > New: Copy paste the contents from CF_JIRACreate.txt
    1. In the script, modify the API field name of the additional field to store the newly created Jira ticket ID.
  4. Goto Admin > Developer Space > Request Custom Function > New: Copy paste the contents from CF_JIRAUpdate.txt
    1. In the script, modify the API field name for the additional field that stores the Jira Ticket ID
  5. Set up two custom triggers to facilitate the creation and updating of requests from SDP to JIRA.
    1. When an SDP request is generated, meeting specific criteria, invokes the custom trigger. This trigger, in turn, invokes the custom function responsible for creating the Jira ticket.
    2. When an SDP request undergoes an update and the JIRA ticket additional field is not empty, it invokes a custom trigger. Subsequently, this trigger invokes a custom function responsible for updating the corresponding Jira ticket.

                  New to ADSelfService Plus?

                    • Related Articles

                    • Jira Integration

                      Jira Integration JIRA Integrates with ServiceDesk Plus MSP using "Request Custom Menu". Sample Implementation is already done and bundled with our application. You need to change field names as per your requirement in JIRA.xml. So When a ticket is ...
                    • JIRA integration - Issue Types are not loaded

                      Post the JIRA is integrated with SDP MSP , the Projects data gets populated. However the other field - Issue Types will not show any values. To fix this follow the below steps The api call is used to fetch the issue types is ...
                    • SCP 11.0 and Jira integration

                      Integration Steps   In SCP 11.0, JIRA administrator credentials and server URL configuration fields will not be available in the Jira.xml file. They must be configured on the current integration page. Follow the below steps to move the integration ...
                    • CTI Integration internal configuration for testing

                      Example format for CTI Integration testing ...
                    • Azure DevOps Integration

                      Feature:  Azure DevOps Integration <-->  ServiceDeskPlus (Plugin Model) --> Create a new work-item in Azure DevOps when a request is created in SDP --> Update SDP request status when a Azure DevOps work-item status is updated --> Updating Comments ...