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

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

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

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,175 views 13 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot