Skip to main content

Posts

Showing posts from January, 2019

Jira server Firefox mobile

Make Jira server to deliver the mobile version when using Firefox Mobile. My use case I mostly receive Jira notifications by Email, read on my telephone. When I want to comment the notification from my telephone, I usually choose Firefox Mobile. Problem Unfortunately (dunno if it has to do with fortune), Firefox Mobile is not a supported web browser, so that Atlassian has made the choice to deliver the desktop version if the client is the client browses with an unsupported browser . Solution I have an Apache reverse proxy in front of my Jira instance: I can force a Redirection to the mobile URL if I match the Firefox Mobile User-Agent. ... RewriteCond "%{HTTP_USER_AGENT}" "^Mozilla\/[1-9]\.0 \(Android [1-9]\.0\.0; Mobile; rv:[1-9][1-9]\.0\) Gecko\/[1-9][1-9]\.0 Firefox\/[1-9][1-9]\.0$" RewriteRule "^/browse/(.+)$" "https://jira.rktmb.org/plugins/servlet/mobile#issue/$1" [R,L,NE] RewriteRule "^/browse/(.+)