Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Groovy script for deactivated/ disable - user from "Project Lead" in Jira

Hi Team

How do I deactivate user from project lead who are not available in organization. I run the groovy script but it can deactivate user from Jira but failed to deactivate project lead because they are currently the project lead. Please find the attachment here. 

Thanks in advance. SS disable user.JPG

1 answer

0 votes
brbojorque Community Leader Dec 17, 2019

In order for the user to be deactivated they should be removed as project lead in the project.

There should be an available endpoint for this to happen in the API.

Bryan thank you so much for your suggestion. 

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you