The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events