DirectReport.models.jira_models package

Submodules

DirectReport.models.jira_models.jira module

class DirectReport.models.jira_models.jira.Jira(uuid, associated_entry_uuid, jira_tag, jira_ticket)[source]

Bases: object

to_dict()[source]

Convert the Jira object to a dictionary.

Returns:

The Jira object as a dictionary.

Return type:

dict

DirectReport.models.jira_models.jira_builder module

class DirectReport.models.jira_models.jira_builder.JiraBuilder[source]

Bases: object

static add_new_jira(jira_ticket, jira_tag, associated_id)[source]

Adds a new Jira entry to the list.

Parameters:
  • jira_ticket – The Jira ticket to add.

  • jira_tag – The Jira tag associated with the ticket.

  • associated_id – The ID associated with the Jira entry.

Returns:

None

static get_jiras(associated_id)[source]

Retrieves a list of Jiras associated with the specified ID.

Parameters:

associated_id – The ID to retrieve Jiras for.

Returns:

A list of Jiras associated with the ID.

Module contents