Jira Service Management Functions

Jira Service Management Functions

The use of these functions requires the Power Scripts for Jira add-on be installed and licensed.

Functions focused on your Jira Service Management tasks like adding a comment, checking if a comment is public or private, and so on.

Functions summary

  • getAllSDProjectsReturns a string array of projects keys that are Jira Service Desk type projects.
  • getSlaInformationGets SLA information for the specified issue.
  • addJSDCommentPosts a comment on the specified issue on behalf of the specified user.
  • 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.
  • 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.
  • getJSDCommentPrivacyReturns the privacy of comment entered on a transition screen. If the comment is internal, it will return "internal" and "external" otherwise.
  • getJSDUrlThis function returns the url to a specific customer portal for an issue.
  • getOrganizationNameByIdSends an invitation to a customer or a list of customers for a specified Service Desk project.
  • getPortalForProjectRetrieves a portal ID by searching for the projectKey. The function 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.
  • copyAttachmentOnJSDCommentCreates a new public comment containing the specified attachment(s).
  • getRequestTypeNameGets the name of the request type from an existing issue in a Service Desk project.
  • 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 function returns the type of comment, if the comment is public, the function 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.
  • getUserOrganizationsGets organizations names in which the user is present.

Related content

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.

OSZAR »