ServiceDesk+ INC -> JIRA Issue -> ServiceDesk+ INC

ServiceDesk+ INC -> JIRA Issue -> ServiceDesk+ INC

Greetings,

 

I have SD+ installed in my Dev Environment and one of the selling points I need to demonstrate before management will purchase the product is integration with our On PREM JIRA install. 

I was able to get SD+ to make a ticket in JIRA however and I get the pop-up that says "Ticket created with Id: 23508 and Key: CRM-2619" however the JIRA_ISSUE_ID and JIRA_ISSUE_KEY fields do not get populated in the SD+ Incident ticket.

I am also unable to get the Second half of the equation to work with getting JIRA to update SD+ when I run the Update Custom menu action all I get is 

project is required”

 

I have followed the External Action Plugin guide with no help 

https://www.manageengine.com/products/service-desk/help/adminguide/api/external-action-plugin.html#JIRA


Below is my JIRA.xml file under the C:\ManageEngine\ServiceDesk\integration\conf


 

<?xml version="1.0" encoding="UTF-8"?>

<menus>

<menu name="Create_JIRA_UI_Ticket">

<request>

<username>user</username>

            <password>password</password>

           <url>http://DEVJIRA:8080/rest/api/2/issue/</url>

                       <html_fields>

                            <!--field>

                                <name>Project Type</name>

                                <type>select</type>        

                                <value>projectID</value>                

                                <mandatory>true</mandatory>       

                            </field-->

                        </html_fields>

                        <mapping_fields>

                            <field>

                                <name>Summary</name>

                                <value>SUBJECT</value>

                                <type>TEXT</type>

                            </field>

                            <field>

                                <name>Description</name>

                                <value>SHORTDESCRIPTION</value>

                                <type>TEXTAREA</type>

                            </field>

                            <field>

                                <name>Due Date</name>

                                <value>DUEBYTIME</value>

                                <type>DATE</type>

                            </field>

                        </mapping_fields>

                </request>

        </menu>


<menu name="Create_JIRA_Ticket">

<request>

<username>user</username>

            <password>password</password>

            <url>http://DEVJIRA:8080/rest/api/2/issue/</url>

<param>

<name>project</name>

<type>projectpicker</type>

<value>SDP</value>

</param>

<param >

<name>issuetype</name>

<type>select</type>

<value>Bug</value>

</param>

<param>

<name>summary</name> 

<type>textfield</type>

<value>$SUBJECT</value>

</param>

<param>

<name>priority</name>

<type>select</type>

<value>$PRIORITY</value>

</param>

                <param>

<name>customfield_10003</name>

<type>requestURL</type>

<value>$WORKORDERID</value>

                </param>

<param>

<name>description</name>

<type>textarea</type>

<value>$SHORTDESCRIPTION</value>

</param>

<param>

<name>duedate</name>

<type>datepicker</type>

<value>$DUEBYTIME</value>

</param>

<param>

<name>customfield_10100</name>

<type>select</type>

<value>$Mapped_SDP_Field_Value</value>

</param>

</request>

<success>Ticket Id: $id created in jira with key $key 02</success>

<failure>Failed to Integrate to jira</failure>

<response>

<param>

<name>JIRA_ISSUE_ID</name>

<value>$id</value>

</param>

<param>

<name>JIRA_ISSUE_KEY</name>

<value>$key</value>

</param>

<notes>

<note>Ticket Id: $id created in jira with key $key 02</note>

</notes>

</response>

</menu>

<!-- Update SDP fields with JIRA values-->

<menu name="Updating_JIRA_Information">


                <request>

                    <username>user</username>

                    <password>password</password>

                    <url>http://DEVJIRA:8080/rest/api/2/issue/</url>

                </request>

<success>Jira Results Fetched Successfully</success>

<failure>Failed to Fetch Jira Results Please Contact SD+ Admin</failure>

                <response>

<param>

<name>JIRA_ISSUE_ID</name> <!-- Specify the SCP field.-->

<value>$id</value><!-- JIRA field-->

</param>

<param>

<name>update_URL</name> <!-- Specify the SCP field.-->

<value>$self</value><!-- JIRA field-->

</param>

<param>

<name>JIRA_ISSUE_TYPE</name> <!-- Specify the SCP field.-->

<value>$fields,$issuetype,$name</value><!-- JIRA field-->

</param>

<param>

<name>JIRA_ISSUE_STATUS</name> <!-- Specify the SCP field.-->

<value>$fields,$status,$name</value><!-- JIRA field-->

</param>

<param>

<name>JIRA_ISSUE_RESOLUTION</name> <!-- Specify the SCP field.-->

<value>$fields,$resolution,$description</value><!-- JIRA field-->

</param>

</response>

        </menu>


</menus>


                  New to ADSelfService Plus?