Abstract
This code snippet sets a version fieldĀ to versions of all its linked issues
...
Code Block | ||||
---|---|---|---|---|
| ||||
Set versions = [] issue.getLinkedIssues().each(){ versions += it.get("<Name of the version field>") } return versions |
Note |
---|
Note that the above snippet fetches all linked issues for the current issue, except the Parent/Sub-task, Epic/Story, Initiative/Epic and Remote links |
Placeholders
Placeholder | Description | Example |
---|---|---|
<Version field name > | Name of the field of type Versions | Fix Version/s |
...
- one of the Set field value post-functions
theĀ Create issue post-function under the Set fields of new issue section
Code Block language js linenumbers true Set versions = [] issue.getLinkedIssues().each(){ versions += it.get("versions") } return versions
...