Perform actions in ServiceDesk Plus On-Premise from JIRA Cloud using automation rules

Perform actions in ServiceDesk Plus On-Premise from JIRA Cloud using automation rules


Create a request and perform similar actions in ServiceDesk Plus On-Premise from JIRA cloud



Overview:

This document outlines the steps to integrate JIRA with ServiceDesk Plus (SDP) using JIRA's native automation rules. This integration allows automated creation of requests in SDP when issues are created in JIRA.

Pre-requisites:

The domain of the ServiceDesk Plus application must be accessible over the internet; it should be publicly hosted and this is mandatory for the integration to work.


Integration Process:


JIRA has automation rules that can make API calls to SDP based on selected criteria. Follow the steps below to create an automation rule to perform actions in SDP.


Steps to Create an Automation Rule in JIRA

Navigate to Automation Settings:


1. Go to Settings in JIRA.

2. Select System settings.

3. Choose Automation under Global automation.

4. Click on Create rule.

5. Define the Trigger:


6. Inside the rule builder, choose a trigger based on your necessity (e.g., New issue created).


Configure the Action:

7. Click on THEN action.

8. In the action field, choose Send a web request action.


Set Up the Web Request:


9. In the action configuration tab, set the URL to https://<sdp_domain>/api/v3/requests (replace <sdp_domain> with your SDP domain).

10. The HTTP method should be POST.


11. Customize the Request Body:

Set the web request body to Custom data.

Fill in the custom data field with the following:



input_data= {
   "request": { 
       "subject": "{{issue.summary}}",
       "description": "{{issue.description}}",
       "requester": {
           "id": "5",
           "name": "administrator"
       },
       "status": {
           "name": "Open"
       }
   }
}


{{issue.summary}} and {{issue.description}} will dynamically replace the subject and description with the corresponding issue's summary and description when making the API request.

To include other fields from the issue, click on the {} icon and search for the issue parameter to be used. JIRA will show the corresponding value to be used in the JSON.



Configure Headers:


12. Set the headers as follows:

Key: authToken

Value: The authtoken generated in SDP

Key: Content-Type

Value: application/x-www-form-urlencoded


13. Save the rule and turn it on.


Result:

Once all the steps are completed, a corresponding request will be automatically created in SDP whenever an issue is created in JIRA.



                  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 ...
                    • ServiceDesk Plus On Premise : Integrate with ServiceNow using Zoho Flow

                      This document will guide you through the steps to integrate ServiceDesk Plus with ServiceNow upon Zoho Flow. The pre-requisites for this integration : Make sure the Zoho Flow Agent is up and running in the machine in which the ServiceDesk Plus server ...
                    • How to migrate ServiceDesk Plus from one server to another

                      Following are the steps to move data from the existing server to a new server, Step 1: Stop ManageEngine ServiceDesk Plus service. Step 2: Kindly Upgrade ServiceDesk Plus if required. Refer to the link below to check if you are in the latest version, ...
                    • Host ServiceDesk Plus on the Internet

                      In order to make ServiceDesk Plus available for users on Internet, let us assume the following scenarios. Scenario 1: ServiceDesk Plus is installed in LAN and should be available in LAN and WAN: Assume ServiceDesk Plus is installed on a server in the ...
                    • Syncing ServiceDesk Plus Change Calendar with Outlook Calendar

                      We’re excited to announce that we've developed a solution to help you sync the ServiceDesk Plus (SDP) Change Calendar with your Outlook Calendar! This feature has been highly requested by many of our customers. While we are working on a native ...