Forums

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

Clear of tokens from JIRA site.

Manu Mishra
Contributor
June 13, 2018

Hi,

I would like to know the process of automating the "Clear Tokens from jira site"? As i would like to know if there any Service/Trigger/Script/job that be can scheduled at the specified time to clear of the tokens from JIRA site. As currently we are following the manual process (JIRA>Admin>System>Security>Remember My Login). Let me if this is possible through Script Runner and How ?

access token.JPG

1 answer

0 votes
Alexey Matveev
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.
June 13, 2018

Hello,

Open the Developer Tools of you browser and choose the Network tab. Then push the Clear all button. You will see the request, which is made to the server. You should take this request and write an operating system script to execute this request. Then you can schedule the script. The content of the script would depend on the operating system you use.

Manu Mishra
Contributor
June 14, 2018

@Alexey Matveev I am using windows 7 and most of my team members are also using the same OS. I am not sure how can I write the operating system script. If you can provide some samples ( sample script) where the same scenario is used, that will be a big help. Also once the script is created, where should I place this script?

Manu Mishra
Contributor
June 14, 2018

@Alexey Matveev Also when initiated Clear All, the network tab has created too many requests. should i have to include all the request to script? 

example
network tab.JPG

Alexey Matveev
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.
June 14, 2018

You need only the first one. Unfortunately, I do not have time to write such a script. 

Manu Mishra
Contributor
June 14, 2018

Thanks @Alexey Matveev I will try at my end. Can you refer any knowledge base of these kind of scripts.

Suggest an answer

Log in or Sign up to answer