...
Examples
Example 1
Code Block | ||
---|---|---|
| ||
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
Code Block | ||
---|---|---|
| ||
deleteIssue(key); |
Result: Since "key" variable returns the key of the current issue, the delete operation will fail.
...