Atlassian Jira/Confluence Version Check with LTS-flag
Both scripts check for the latest release of Jira Core and Confluence but do not recognize the Long Term Support releases.
- https://git.linuxfabrik.ch/linuxfabrik/monitoring-plugins/-/tree/master/check-plugins/atlassian-jira-version
- https://git.linuxfabrik.ch/linuxfabrik/monitoring-plugins/-/tree/master/check-plugins/atlassian-confluence-version
The scripts fetch this feeds for the latest releases:
- https://my.atlassian.com/download/feeds/jira-core.rss
- https://my.atlassian.com/download/feeds/confluence.rss
Wish to choose wether I check against the latest release or the LTS. Maybe with this flag, each script:
parser.add_argument(
'--track-lts-only',
help='Track Long Term Support releases only.',
...
default=False,
)
The problem seems, that the feeds do net mark out wether a release is LTS or not, for example:
<item>
<title>8.14.0 (Linux 64 Bit Installer)</title>
<link>https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-core-8.14.0-x64.bin</link>
<content:encoded><p><strong>File: </strong><a href='https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-core-8.14.0-x64.bin'>8.14.0 (Linux 64 Bit Installer)</a></p> <p><strong>Size: </strong>377.3 MB</p> <p><strong>Released: </strong>22-Nov-2020</p> <p><strong>Platforms: </strong>Unix</p> <p><strong>Release Notes: </strong><a href='https://confluence.atlassian.com/display/JIRACORE/JIRA+Core+8.14.x+release+notes'>https://confluence.atlassian.com/display/JIRACORE/JIRA+Core+8.14.x+release+notes</a></p> <p><strong>Upgrade Notes: </strong><a href='https://confluence.atlassian.com/display/JIRACORE/JIRA+Core+8.14.x+upgrade+notes'>https://confluence.atlassian.com/display/JIRACORE/JIRA+Core+8.14.x+upgrade+notes</a></p></content:encoded>
<guid>https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-core-8.14.0-x64.bin</guid>
</item>
<item>
<title>8.13.1 (Linux 64 Bit Installer)</title>
<link>https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-core-8.13.1-x64.bin</link>
<content:encoded><p><strong>File: </strong><a href='https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-core-8.13.1-x64.bin'>8.13.1 (Linux 64 Bit Installer)</a></p> <p><strong>Size: </strong>361.6 MB</p> <p><strong>Released: </strong>01-Nov-2020</p> <p><strong>Platforms: </strong>Unix</p> <p><strong>Release Notes: </strong><a href='https://confluence.atlassian.com/display/JIRACORE/JIRA+Core+8.13.x+release+notes'>https://confluence.atlassian.com/display/JIRACORE/JIRA+Core+8.13.x+release+notes</a></p> <p><strong>Upgrade Notes: </strong><a href='https://confluence.atlassian.com/display/JIRACORE/JIRA+Core+8.13.x+upgrade+notes'>https://confluence.atlassian.com/display/JIRACORE/JIRA+Core+8.13.x+upgrade+notes</a></p></content:encoded>
<guid>https://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-core-8.13.1-x64.bin</guid>
</item>
An idea is to follow the release notes for clarifying. Other sources for tracking the latest LTS releases may:
- https://www.atlassian.com/software/jira/download
- https://confluence.atlassian.com/jirasoftware/jira-software-release-notes-776821069.html
What do you think?