release_version
Mark a version released — or, with released=false, take the mark back. A version is what a project's work goes out in — '2.4.0', 'Autumn'. It is the project's own: an issue carries versions of its own project only, any number of them ('fixVersions' on create_issue, update_issue and get_issue; JQL 'fixVersion = "2.4.0"', 'fixVersion in unreleasedVersions()'). Releasing runs the project's rules that wait for a version to ship (list_project_rules, trigger 'versionReleased') on the issues it carries, and tells the project's webhooks. It does NOT refuse a version that still carries unfinished issues: 'open' in the answer says how many, and 'openIssues' names up to twenty of them — check before you release, or say so to the person. With no 'releaseDate', today is written as the day it shipped — over a planned day, as the releases screen does. Releasing a version that is already released changes nothing and answers 'already': true. Project lead or admin only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | Yes | The version, by its name or its id from list_versions. | |
| released | No | false takes the mark back. | |
| projectKey | Yes | Project key, e.g. 'ONB'. | |
| releaseDate | No | The day it shipped, as YYYY-MM-DD. Left out, today. |