note

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

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

Syntax

getJSDUrl(issueKey, portalId

Package

Alias

Pkg Usage

Description

This function returns the url to a specific customer portal for an issue.

This function returns the url to a specific customer portal for an issue.

Parameters

Parameter name

Type

Required

Description

issueKey

String

Yes

Key of the selected issue

portalId

Number

Yes

Id of the selected portal

Return Type

String

Returns url to a specific customer portal for an issue.

Example

The following script will return a string similar to this one: https://jira.yourdomain/servicedesk/customer/portal/1/JSD-1.

getJSDUrl(key, 1);

See also

defaultcom.atlassian.ecosystemfc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacock77155323-d492-42f9-ab61-13e0183fc454ari:cloud:ecosystem::extension/fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacock6e1accf2-f2d4-4f29-8a78-b3dcb4b41069defaultcom.atlassian.ecosystemfc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacock77155323-d492-42f9-ab61-13e0183fc454ari:cloud:ecosystem::extension/fc909b09-b512-4c31-a844-dd855b0e6aae/db1c8759-c7e5-4e80-9022-d19e47b0e2b0/static/macroPeacock6e1accf2-f2d4-4f29-8a78-b3dcb4b41069