The Latest Atlassian Product Releases works by querying www.atlassian.com's JSON resources, at URLs such as https://my.atlassian.com/download/feeds/current/jira-software.json. The jQuery code can be found on bitbucket – improvements welcome.
Installation
To add this to your Confluence:
- Log in as an administration
- Search for 'user macros'
Create a new macro calledatlassianversions:
In the body, fill in:## @noparams <h4>Latest product versions</h4> <table id="productTable"></table> <!-- Chrome refuses to load because Bitbucket sets the MIME type to text/plain, not text/javascript: <script type="text/javascript" src="https://bitbucket.org/redradish/atlassian-versionscraper/raw/master/createversiontable.js"> --> <script type="text/javascript" src="https://www.redradishtech.com/src/atlassian-versionscraper/createversiontable.js"> // This line intentionally left blank - https://answers.atlassian.com/questions/21353/cant-use-script-tag-in-user-macros </script>
i.e.:
- Save the macro.
Then on a test page, insert the macro:
Done! You might also like to display this on your Confluence dashboard.
2 Comments
Anonymous
Hello Folks. Your macro was very useful to us .. but it seems to have disappeared ..
Jeff Turner
Thanks for the note, anonymous, the file has been restored.