...
Status | ||||
---|---|---|---|---|
|
The align
class is designed as a versatile connector for interacting with the Jira Align API, facilitating operations such as creating, reading, updating, and deleting various Jira Align objects like Themes, Epics, Features, and more. Upon instantiation, it allows for setting the site URL and authentication token, essential for API access.
...
Code Block | ||
---|---|---|
| ||
# Instantiate the JiraAlignConnectoralign with your site URL and token connector = JiraAlignConnectoralign(site_url="https://your-company.jiraalign.com", token="your_api_token") # Define data for adding a new user new_user_data = { "userName": "new_user", "firstName": "New", "lastName": "User", "emailAddress": "newuser@example.com", "externalId": "NU123", # Unique identifier for the user "isLocked": False, "isDeleted": False } # Make a POST request to add the new user to Jira Align add_user_response = connector.post("/Users", data=new_user_data) |
...