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

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,451
Community Members
 
Community Events
184
Community Groups

Rename Users deleted in remote directory via scriptrunner - JIRA 6.3.13

Edited
David Friedrich
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.
May 07, 2018

Hi,

we have the following situation:

  • Jira 6.3.13
  • Scriptrunner 3.14
  • Microsoft Active Directory

Users leaving the company are first marked to be deleted in AD. The result for the Jira user is being deactivated ->good!

After a period of 4 weeks, users in AD marked to be deleted are deleted - I know, that's not good, but it's company policy which I cann't change. If the Jira user had made any comments or owns filters, boards etc their already inactive user is marked with an [x] behind the user display name ->good

If the jira user has done nothing in Jira, he is completly gone -> good

The bad thing is, that usernames in AD are used again at some point of time. The result is the reactivation of the inactive and [x]-marked Jira user.

So my question is, if there is any chance of renaming inactive [x]-marked users via scriptrunner, so that a new AD-user with same username does not inherit all entities of the person who has left the company.

Thank you! 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events