This project was developed to address the lack of REST API to disable JIRA Users
In order to run this application you will need the following installed:
python3 (tested with 3.5.1) and libraries:
Selenium (3.8.1)
Google Chrome Driver
ChromeDriver (3.8.1)
Google Browser
Chrome Browser (63)
$ pip install selenium$ vi /etc/yum.repos.d/google-chrome.repoPlace the text below in the opened file:
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
As root install Chrome Browser:
$ yum install google-chrome-stable -y$ python3 disable_jira_user.py --user mynameJIRA_SERVER = URL for your jira instance e.g. https://jira.corp.com
WEB_DRIVER_HOME = Location for extracted ChromeDriver
USER = JIRA Admin User
PASS = JIRA Admin Password
This Application can be run in either headless or non-headless mode. Default mode is headless.
This Application has been tested on Centos 7/RHEL7 against JIRA 7.5.0