Jira Service Desk Routines

Looking for the documentation on the newest versions of Power Scripts for Jira 8 for Server/Data Center? Click here !

This section contains routines that enable users to handle comments and getting the URL for a specific ticket opened in Jira Service Desk.In Power Scripts™ for Jira 4.0 (server) you can find new routines focused on your Jira Service Desk tasks like adding a comment, checking if a comment is public or private, and so on.

Routines summary

  • addCustomerAdds an existing customer or a list of customers to a specified Service Desk project.
  • addCustomerToOrganizationAdds an existing customer or a list of customers to a specified organization.
  • addJSDCommentPosts a comment on the specified issue on behalf of the specified user. Returns a number representing the id of the comment.
  • addOrganizationAdds an existing organization or a list of organizations to a specified Service Desk project.
  • createCustomerCreates a Service Desk customer. The newly created customer is not added to any JSD project, however he/she can raise request against unrestricted JSD projects.
  • createOrganizationCreates a new customer organization.
  • deleteOrganizationRemoves a customer organization.
  • getAllOrganizationIdsReturns the Ids of all Service Desk organizations.
  • getAllServiceDeskProjectsReturns a list of all projects that are Jira Service Desk type projects.
  • getJSDCommentPrivacyReturns the privacy of comment entered on a transition screen. If the comment is internal, it will return "internal" and "external" otherwise.
  • getJSDUrlThis routine returns the url to a specific customer portal for an issue.
  • getOrganizationNameByIdGets the Jira Service Desk organization by the Id.
  • getPortalForProjectRetrieves a portal ID by searching for the projectKey. The routine will return a null if the portal is not found.
  • getRequestChannelGets the request channel type for a specified issue key.
  • getRequestsTypesReturns an array of JRequestType containing all the Request Type data for a Portal.
  • getSlaInformationGets SLA information for the specified issue.
  • getUsersFromOrganizationsGets users from a specified organization or list of organizations.
  • inviteCustomerSends an invitation to a customer or a list of customers for a specified Service Desk project.
  • isPublicJSDCommentThis routine returns the type of comment, if the comment is public, the routine will return "true" otherwise it will return "false".
  • organizationExistVerifies whether a given organization is a registered JSD organization.
  • removeCustomerRemoves a customer or a list of customers from a specified project.
  • removeCustomerFromOrganizationRemoves a customer or a list of customers from a specified organization.
  • removeOrganizationRemoves an organization or a list of organizations from a specified project.