Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

JIRA Servicedesk API for making templates

Roman Gordienko July 23, 2018

Hi. I get started to maintain some JIRA Sevice Desk plugin(front-end part) and faced with API, that I'am not able to find into documentation:

jQuery.ajax({
url: "$hcbaseurl/rest/servicedesk/1/customer/models",
type: 'POST',
contentType: "application/json; charset=utf-8",
dataType: "json",
data: JSON.stringify(jsonData),

success: function (data) {
AJS.undim();
JIRA.Loading.hideLoadingIndicator();
jQuery('#loginHolder').html(ServiceDesk.Templates.Customer.loginForm(data));
}
});

 I already know about AUI library and AJS/JIRA parts, but what about ServiceDesk? It returns HTML of login form, in case above. So, where can I find a description of this API?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events