The YouTrack apps developed by us, such as the Multi Sprint Planner or the Article Actions, are available in the JetBrains Marketplace and are regularly updated and further developed by us.
However, YouTrack only checks the Marketplace for updates once a week by default - on Sundays. This means that freshly released updates may arrive in your instance with a delay. However, there is a manual workaround for anyone who would like to have their YouTrack instance up to date immediately. In this article, we will show you step by step how you can actively trigger updates between Sundays.
If you are already logged into your YouTrack instance, you can easily trigger the update check via your browser's console. To do this, open the developer console (usually via F12
or right-click → Inspect → Console) and enter the following code:
fetch('/api/admin/apps/marketplace/checkUpdates', {
method: 'POST',
headers: {
authorization: 'Bearer ' + JSON.parse(localStorage.getItem
(`${JSON.parse(localStorage.getItem('__youtrack__'))
.serviceId}-token`)).accessToken
}
})
With this method, you give your YouTrack instance the command to search the Marketplace directly for new versions of your installed apps and download them immediately if necessary. The process runs in the background and updates the extensions immediately so that no further steps are necessary.
If you are not currently logged in to YouTrack or would like to carry out this process independently of the login, you can alternatively initiate the update check manually via a post request. To do this, first create a new API token in your YouTrack instance. To do this, go to your profile and navigate to Account security → New token. Copy the generated token to the clipboard.
You can now use the following command to initiate the updates. This can also be executed in the browser console or with any tool for sending post requests:
curl -X POST -k -H 'Authorization: Bearer <token>' -i 'https://<URL>/api/admin/apps/marketplace/checkUpdates’
Replace <token>
through your previously generated token and <URL>
with the URL of your YouTrack instance to start the update. Here, too, the check and update will take place automatically in the background and your YouTrack instance will be updated to the latest version.
With these two methods, you can initiate updates independently without having to wait for the weekly Sunday check. This way, you and your team always have access to the latest features and improvements of YouTrack apps from the JetBrains Marketplace.
Do you have any questions or need further support with YouTrack or other JetBrains tools? Then get in touch, we will be happy to help you. Good luck with your update!
twenty20 GmbH & Co. KG
Hausinger Straße 6
40764 Langenfeld
+49 (0) 2173 167 00 50