getRequestsTypes (Power Scripts)
getRequestsTypes (Power Scripts)
Syntax
getRequestsTypes(portalId)
Description
Returns an array of JRequestType containing all the Request Type data for a Portal.
Parameters
Return type
JRequestType[]
The returned number represents the id of the comment.
Examples
Example 1
Use the following code to add a public comment to the current issue on behalf of the current user. The commentAdded event will be dispatched.
JRequestType[] requestTypes = getRequestsTypes(1234);
JRequestType firstRequestType = requestTypes[0];
return firstRequestType.description;
See also
, multiple selections available,
Related content
getRequestTypeName (Power Scripts)
getRequestTypeName (Power Scripts)
More like this
getRequestsTypes
getRequestsTypes
More like this
addJSDComment (Power Scripts)
addJSDComment (Power Scripts)
More like this
getCommentsForRequest
getCommentsForRequest
More like this
Jira Service Management Functions (Power Scripts)
Jira Service Management Functions (Power Scripts)
Read with this
createCustomerRequest
createCustomerRequest
More like this
Need support? Create a request with our support team.
Copyright © 2005 - 2025 Appfire | All rights reserved.