Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...


Info
titleAvailability

This routine is available starting with Power Scripts™ 4.6.0 for Jira 7.x .

Syntax

addCustomer(usernameOrEmailusername, project)

Description

Excerpt

Adds an existing customer or a list of customers to a specified Service Desk project.

Parameters

Parameter name

Type

Required

Description

usernameOrEmail
usernameString[]YesThe customers' username
or email
.

project

String

Yes

The key of the selected project.

Return type

boolean

Returns "true" if the operation succeeded.

Example

Example 1

Code Block
return addCustomer({"customer1","customer2"}, "JSD");


Example 2

Code Block
return addCustomer("customer@cprime.com", "JSD");

See also

Filter by label (Content by label)
showLabelsfalse
max150
showSpacefalse
cqllabel = "jsd_routine"
labelsjira_group_routine jira_user_routine

...