

application_properties () # Find all issues reported by the admin # Note: we cast() for mypy's benefit, as search_issues can also return the raw json ! # This is if the following argument is used: `json_result=True` issues = cast ( ResultList, jira. myself () # Get the mutable application properties for this server (requires # jira-system-administrators permission) props = jira. Server): the PAT token # auth=("admin", "admin"), # a username/password tuple for cookie auth ) # Who has authenticated myself = jira. """ from collections import Counter from typing import cast from jira import JIRA from jira.client import ResultList from jira.resources import Issue # Some Authentication Methods jira = JIRA ( basic_auth = ( "admin", "admin" ), # a username/password tuple # basic_auth=("email", "API token"), # Jira Cloud: a username/token tuple # token_auth="API token", # Self-Hosted Jira (e.g. id, issue2 )Īnother example with methods to authenticate with your Jira: issue ( "XX-23" ) # could also be another instance jira.

delete () # Linking a remote jira issue (needs applinks to be configured to work) issue = jira. Select the Sync ticket notes and comments to this Jira issue checkbox.
#Jira client access add comment update
update ( fields = ) # Send the issue away for good. update ( notify = False, description = "Quiet summary update." ) # You can update the entire labels field like this issue. update ( summary = "I'm different!", description = "Changed the summary to be different." ) # Change the issue without sending updates issue. add_comment ( issue, "Comment text" ) # Change the issue's summary and description. atl_comments = # Add a comment to the issue. issue ( "JRA-1330" ) # Find all comments made by Atlassians on this issue. key for project in projects ) # Get an issue. projects () # Sort available project keys, then return the second, third, and fourth keys. jira = JIRA ( server = "" ) # Get all projects viewable by anonymous users. We (my organization) is looking to be able to manage our clients projects.

import re from jira import JIRA # By default, the client will connect to a Jira instance started from the Atlassian Plugin SDK # (see for details). I am currently utilizing Jira Cloud, and we are looking into adding on Confluence.
#Jira client access add comment how to
# This script shows how to use the client in anonymous mode # against.
