Skip to end of banner
Go to start of banner

deleteIssue

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Availability

This routine is available starting with katl-commons 1.0.

This routine is available for Jira server and cloud deployment options.

Syntax

deleteIssue(issuekey)

Description

Deletes the selected issue.

Parameters

Parameter name

Type

Required

Description

issuekey

string

Yes

Key of the issue that has to be deleted.

Return type

None. The returned value has no meaning.

Example

Example 1

deleteIssue("PRJ-323");

Result: If the current issue is not "PRJ-323" or a child of "PRJ-323", then the issue "PRJ-323" will be deleted.

Example 2

deleteIssue(key);

Result: Since "key" variable returns the key of the current issue, the delete operation will fail.

Notes

Cannot delete the current issue or the parent of the current issue.

See also

 

 

  • No labels