get_issues

imerit_ango.sdk.SDK.

get_issues(project_id, asset_id, task_id, stage_id, created_by)

Retrieve issues of a project

Parameters

  • project_id: string

  • asset_id: string, default None

    • The unique identifier for the asset. You can find the asset ID in the user interface or retrieve it using the get_assets function. You can use this parameter to filter issues according to a specific asset in the project.

  • task_id: string, default None

    • The unique identifier for the task. You can find the asset ID in the user interface or retrieve it using the get_tasks function. You can use this parameter to filter issues according to a specific task in the project.

  • stage_id: string, default None

    • The unique identifier for the stage. You can retrieve the stage ID using the get_project function. You can use this parameter to filter issues according to a specific stage in the project.

  • created_by: string, default None

    • Email address of the user who created the issues. This parameter can be used to filter the issues based on the creator.

    • Example: 'user@example.com'

Returns:

  • output: dict

Example

import os
from dotenv import load_dotenv
from imerit_ango.sdk import SDK

load_dotenv('variables.env')
api_key = os.getenv('API_KEY')
project_id = os.getenv('PROJECT_ID')

ango_sdk = SDK(api_key)

# Get all issues of the project
sdk_response = ango_sdk.get_issues(project_id=project_id)

Last updated