It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JIRA Servicedesk API for making templates

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
Community showcase
Posted in Jira Service Desk

Tell us how you've implemented Change Management

Hello Community 👋, I'm a product manager at Atlassian, looking at improving change management capabilities across our products. In particular, we're looking at bridging the gap between Dev & ...

329 views 0 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you