Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Logout some user by script

Hello there!

Can it be possible to logout some user - for ex. ApplicationUser - in script (not current user). I need this for some automatization.

Thanx!

1 answer

0 votes
Danyal Iqbal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 1, 2021

Bad practice. Dont do it  :)

if you want to write a custom plugin, check out the login manager.

 https://docs.atlassian.com/software/jira/docs/api/7.2.0/com/atlassian/jira/security/login/LoginManager.html

Thanks, but it seems that LoginManager only has method "logout", which performs logout of current user. But I need to logout another user by automation, not that one which automation runs with.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira product discovery, product operations, product ops, linkedin live, atlassian events, cross-functional collaboration, product management, engineering collaboration, design collaboration, atlassian learning, agile teams, product strategy

Product Ops Unpacked: 4️⃣ tips every product pro needs to know ✍️

Join PM Evangelist, Axel Sooriah, & Product Ops. Consultant & Advisor, Jenny Wanger, as they unpack the role of product ops and discuss key takeaways in Atlassian’s ‘The Product Ops Mission’ guide. They’ll answer your questions live on May 6 at 9:00am PT.

Register here ⬇️
AUG Leaders

Atlassian Community Events