Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Reset Captcha - Jira data center

Hi all

First - my product is Jira data center.

there is a way to find all users with CAPTCHA errors and then reset the failed login count using RESTfull calls or with Scrip runner plugin?

I didn't find anything in the Jira Rest doc

 

Thanks

2 answers

1 accepted

0 votes
Answer accepted
Craig Nodwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 11, 2023

Hi @Liran 

Have a look at this post.

@Craig Nodwell Thanks craig will doubl-check that.

There is any solution without do some manipulation on DB?

Thanks!

Craig Nodwell
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 11, 2023

None that I'm aware of, someone else might know though.  :)

Hi @Craig Nodwell

Please mind Its not working on my instance its not responding no errors but no success as well.

Thanks!

Hi @Liran

You can use the following script in script runner console.

You might need to change the group.

 

import com.atlassian.jira.security.login.LoginManager
import com.atlassian.jira.component.ComponentAccessor

def userManager = ComponentAccessor.getUserManager()
def groupManager = ComponentAccessor.getGroupManager()
def loginManager = ComponentAccessor.getComponent(LoginManager)
def groupMembers = groupManager.getUsersInGroup("jira-users") //change the group if needed

for (user : groupMembers){
if (loginManager.getLoginInfo(user.username).elevatedSecurityCheckRequired == true){
loginManager.resetFailedLoginCount(user)
}
}

@Miklos Tix 
Thanks!
much appreciated!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events