Set of utilities for finding jira accounts with LDAP check and optional file map
Project description
python-ldap2jira
Set of utilities for finding jira accounts with LDAP check and optional file map.
Pypi Package
https://pypi.org/project/ldap2jira/
Docs
https://python-ldap2jira.readthedocs.io/
Usage
Install package from pypi
pip install ldap2jira
In python
from ldap2jira import LDAP2JiraUserMap
l2j = LDAP2JiraUserMap(
jira_url='https://yourjiraserver',
jira_user='yourjirauser',
jira_password='yourpassword',
ldap_url='ldap://yourldapserver,
ldap_base='ou=users,dc=your,dc=base',
ldap_query_fields_username=['uid'],
ldap_fields_username=['uid'],
ldap_fields_mail=['mail'],
ldap_fields_name=['cn'],
ldap_fields_jira_search=[
'mail', 'uid', 'cn'],
email_domain='yourdomain.org'
)
l2j.find_jira_accounts(['usertofind', 'user2tofind'])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ldap2jira-1.1.1.tar.gz
(13.0 kB
view hashes)
Built Distribution
ldap2jira-1.1.1-py3-none-any.whl
(10.1 kB
view hashes)
Close
Hashes for ldap2jira-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 100b028ad0aa95867d576941b80d8cf9a585eb045bcef95be40226a0a690edd6 |
|
MD5 | 884f8dd788fdb4c313d4f83962e51826 |
|
BLAKE2b-256 | cbdfdb6b2eae9f5cef853397cfcc3233a0b429d0c184c2be64867e4685638e67 |