Source: factory.core/extend.ticket/ObjTicketAsana.py
Asana provider for ticket operations.
Uses ObjServiceAsana to create and manage tasks
in an Asana project. Ticket status transitions
are mapped to section moves; priority is mapped
...
| Method | Signature | Description |
|---|---|---|
| create | create(subject: str, description: str = '', priority: str = 'MEDIUM', ticket_type: str = 'USER', requested_by: str = '', requested_by_type: str = 'INTERNAL', server_id: str = '') -> dict |
Create a task in the Asana project. |
| update | update(guid: str, subject: str = '', description: str = '', priority: str = '') -> dict |
Update an Asana task. |
| change_status | change_status(guid: str, new_status: str, action_by: str = '') -> dict |
Move the Asana task to the section |
| assign | assign(guid: str, user: str, action_by: str = '') -> dict |
Assign the Asana task to a user GID. |
| add_comment | add_comment(guid: str, text: str, commented_by: str = '') -> dict |
Add a comment (story) to the Asana task. |
| get_ticket | get_ticket(guid: str) -> dict |
Retrieve an Asana task by GID. |
| list_tickets | list_tickets(package: str = '', status: str = '', priority: str = '', assignee: str = '') -> list |
List tasks in the Asana project. |
| close | close(guid: str, action_by: str = '') -> dict |
Complete the Asana task. |
| resolve | resolve(guid: str, action_by: str = '', notes: str = '') -> dict |
Move the Asana task to Resolved section. |
| escalate | escalate(guid: str, action_by: str = '') -> dict |
Move the Asana task to Escalated section. |