Skip to content

v0.4.4

Compare
Choose a tag to compare
@princenyeche princenyeche released this 09 Oct 20:29
· 481 commits to main since this release
649efcb

Micro update #54

  • Added new organization and user management REST API
  • You can be able to create and manage organization users. See more details here
    Example
from jiraone import manage

token = "Edfj78jiXXX"
account_id = "5bc7uXXX"
payload = {"message": "On 6-month suspension"} # A payload needs to be passed for the endpoint to work
manage.add_token(token) # Authenticate to the resource
manage.manage_user(account_id, json=payload) # By default it is set to disable a user
# manage.manage_user(account_id, json=payload, disable=False) # Changing disable=False enables back the user
# output
# <Response 204>