mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
task name is added to timer description
This commit is contained in:
parent
bc8efd319d
commit
e0f6ba6eb2
3 changed files with 3 additions and 0 deletions
|
|
@ -45,6 +45,7 @@ class StartClockify(BaseAction):
|
|||
return output
|
||||
|
||||
desc_items = get_parents(task['parent'])
|
||||
desc_items.append(task['name'])
|
||||
description = '/'.join(desc_items)
|
||||
project_id = self.clockapi.get_project_id(project_name)
|
||||
task_id = self.clockapi.get_task_id(task_name, project_id)
|
||||
|
|
|
|||
|
|
@ -327,6 +327,7 @@ class AppAction(BaseHandler):
|
|||
return output
|
||||
|
||||
desc_items = get_parents(task['parent'])
|
||||
desc_items.append(task['name'])
|
||||
description = '/'.join(desc_items)
|
||||
|
||||
project_id = clockapi.get_project_id(project_name)
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@ class ClockifyStart(api.Action):
|
|||
if asset is not None:
|
||||
desc_items = asset.get('data', {}).get('parents', [])
|
||||
desc_items.append(asset_name)
|
||||
desc_items.append(task_name)
|
||||
description = '/'.join(desc_items)
|
||||
|
||||
project_id = self.clockapi.get_project_id(project_name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue