Versions Compared

Key

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

Button handy
blanktrue
color#0052CC
nameSend Feedback
linkhttps://docs.google.com/forms/d/e/1FAIpQLScmToBe3vynAlb5fdKwCGxYqnTbDc66sIBgeecG2BuFDuHc7g/viewform?entry.2002826954=admDeleteProjectVersion+-+746356959
widthauto

Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

admDeleteProjectVersion(projectKey, versionName);

Package

adm

Alias

Pkg Usage

deleteVersion(projectKey, versionName);

Description

Excerpt
hiddentrue
Deletes a project version from a project.

Deletes a project version from a project. The version is also removed from any issues assigned to the version.

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

Project Key

String

Yes

Project key of the project containing the version to be deleted.

Version Name

String

Yes

Name of the version to be deleted.

Return Type

Boolean

Returns "true" if operation succeeded.

Example

Code Block
languagejs
return admDeleteProjectVersion("TST", "Version 1.5.3.2");

Result: true/false

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "version_admin_routine" and space = currentSpace ( )
labelsarray_routines

We've encountered an issue exporting this macro. Please try exporting this page again later.