Switch (back) to JIRA Mobile view bookmarklet

JIRA from Atlassin has a mobile view (in recent versions), which is optimised for use on a mobile device, supporting various actions such as setting comment security and so-forth.

Although it’s easy to switch from Desktop view to Mobile view (using the link at the bottom of the issue), going back to Mobile view isn’t so easy.

The following bookmarklet will modify the current page URL, replacing the word ‘browse’ with ‘plugins/servlet/mobile#’, thus reloading the page in mobile view. 

if your JIRA plugins are located at a different path, adjust the bookmarklet accordingly.

The bookmarklet code is simply:

javascript:(function() {window.location=window.location.toString().replace(‘browse’,’plugins/servlet/mobile#issue’);})()

On iOS in Safari, create a bookmark to any page, then edit the bookmark to point instead to the text shown above (javascript blah blah). When you paste the code, you might find some characters are replaced. If they are, edit the bookmark and carefully check each character to ensure it matches the above exactly.

To use this bookmarklet, when viewing a JIRA issue in desktop mode, click your Bookmarks button, then tab this bookmarklet. The page will be re-loaded in mobile view.

If it doesn’t work – check the text again. It has to be exact. If it still doesn’t work, don’t ask me – I made this and it works for me 🙂

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.