Jira Integration: XML parsing exception

Jira Integration: XML parsing exception

Hello

I did setup Service Desk plus for our company and im trying to integrate it with our Jira tracker.
I was using the following official guide and copy jar file with Jiram.xml to required places

After I create new custom menu
by the way that documentation doesn't match any more with current version of software
It says that menu can be created under:  under Admin --> Helpdesk Settings --> Menu Invocation
however there are no any "Helpdesk Settings" in admin tab nor " Menu Invocation". 
But i figured out it is now "Admin" -> "Request Custom Menu".
So i did create custom menu to call class from bundled jar and refer to menu in supplied Jira.xml.

After menu was created, i opened new "test" request and attempt to sync it with Jira trough custom menu button, but once I clicked that button, im getting the following exception:

  1. [17:04:48:387]|[05-22-2015]|[com.manageengine.servicedesk.actionplugin.workorder.WorkorderActionExecutor]|[INFO]|[23]|: Return Message in Request Action Menu Invocation :: /opt/ManageEngine/ServiceDesk/bin
  2. /../integration/conf/Jira.xml|
  3. [17:04:48:387]|[05-22-2015]|[SYSOUT]|[INFO]|[23]|: org.json.JSONException: JSONObject["operation"] not found.|
  4. [17:04:48:387]|[05-22-2015]|[SYSOUT]|[INFO]|[23]|:      at org.json.JSONObject.get(JSONObject.java:424)|
  5. [17:04:48:387]|[05-22-2015]|[SYSOUT]|[INFO]|[23]|:      at org.json.JSONObject.getJSONArray(JSONObject.java:500)|
  6. ****** skipped ******

To figure out what is going on I had to re-assemble your Jar with few modifications in  JiraActionImplementation class and notice that application crashing on the line:

  1. Document actionMenuDoc = builder.parse(new File(confDir, fileName));  

As far as I understand XML parser read the file and convert it into JSON object and inside the xml file it is expecting to find child with tag:  "operation", which is obviously missing, nor exists in your xml examples 

Because guide for creating menu was outdated, i can imagine that other guides are also out of date. Could you please update me with required information?
what is for " operation" child and what information it should contain? 

Best Regards
                New to ADManager Plus?

                  New to ADSelfService Plus?