Signature
| Helper | nodeHelper |
| Signature |
There are multiple signature variations:
|
| Description |
Returns an issuetype which is marked as default for a project.
|
| Introduced in | 0.8 |
Example use
issue.issueType = nodeHelper.getDefaultIssueType("DEMO")
if (issue.issueType == null) {
issue.issueType = nodeHelper.getIssueType("Request")
} Comments
- getDefaultIssueType is to be used if the type of the to be created issue depends on the project where it has to be created.