tcms.issuetracker.azure_boards module

class tcms.issuetracker.azure_boards.AzureBoards(bug_system, request)[source]

Bases: tcms.issuetracker.base.IssueTrackerType

Support for AzureBoards. Requires:

Base_url:URL to AzureBoards Project - e.g. https://dev.azure.com/{organization}/{project}
Api_password:AzureBoards API token - requires “Read & Write” permission

Note

You can leave the api_url and api_username fields blank because the integration code doesn’t use them!

details(url)[source]

Return issue details from Azure Board

is_adding_testcase_to_issue_disabled()[source]

When is linking a TC to a Bug report disabled? Usually when not all of the required credentials are provided.

Returns:True if bug system api url, username and password are provided
Return type:bool
it_class

alias of AzureThread

report_issue_from_testexecution(execution, user)[source]

AzureBoards creates the Work Item with Title

class tcms.issuetracker.azure_boards.AzureBoardsAPI(base_url=None, password=None)[source]

Bases: object

Azure Boards API interaction class.

add_comment(issue_id, body)[source]
create_issue(body)[source]
get_comments(issue_id)[source]
get_issue(issue_id)[source]
update_issue(issue_id, body)[source]
class tcms.issuetracker.azure_boards.AzureThread(rpc, bug_system, execution, bug_id)[source]

Bases: tcms.issuetracker.base.IntegrationThread

Execute AzureBoards code in a thread!

Executed from the IssueTracker interface methods.

post_comment()[source]