Integration JIRA and Citrix Netscaler

Hi,

Maybe you can come up with any idea how to configure JIRA, so the page is reloading to loginpage when logout is triggered without a user reload the page?

This case:
1. User timed out from JIRA.
2. The page is still the same (where the user was when leaving the computer/JIRA) until the user click somewhere in the JIRA Window. The user can be away from computer a long time, then cookies are not cleaned.
3. The user reloads the page and are logged out (gets permission violation). But when clicking on Agile menu (JIRA Agile) or Test Sessions (JIRA Capture), the user are still logged in to JIRA i.e. If JIRA is timed out, and a user is clicking on "Agile" after timeout, before reload. The user is still logged in to JIRA (without login to JIRA again).

---- What we want is that the page is changed to logout page automaticly and directly after timeout. And it is the first time netscaler is logged out and cookies are cleaned!

We want the step "reload page"/change to logout page/back to login page be triggered directly, without user doing anything after timeout, since the user will be away from computer for a long time.

Another way of describing the problem:
If the user keeps the browser open until the session expires and then clicks
any of the portal links like (Agile, TestSessions), he/she should be redirected to the login page.
Instead, the link is followed and, depending on security, certain portlets are
now shown with "You have no view permission" message. The user should be
redirected to login page and message "Session expired, please login again"
should be displayed.

3 answers

1 accepted

This widget could not be displayed.

You need to look at what the request looks like when the session has expired. I am not familiar with the JIRA platform, but if it uses a cookie with an expiry time set, then the browser should not send the cookie once it has expired. You can tell NetScaler that if this cookie doesnt exist, then redirect the users request to the login page.

The config below will do just that.

add responder action redirect-to-login redirect "\"http://www.site.com/login.htm\""

add responder policy If-JIRA-session-Expires "http.REQ.COOKIE.CONTAINS(\"JIRA-Cookie\").NOT" redirect-to-login

This widget could not be displayed.

It was a good start, but does not solve the problem. Need to delete cookies a certain time (when time out is happening).

This widget could not be displayed.

your netscaler logon time-out needs to be shorter then your jira logon timeout. then your NetScaler cookie will be gone before the backend is already loging out.

but you will need to tell the backend that you are loging out when NetScaler reaches its timeout.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

576 views 25 15
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you