Merge pull request #841 from pypeclub/feature/task_to_parent_with_settings

Task to parent with settings
This commit is contained in:
Milan Kolar 2020-12-18 19:18:16 +01:00 committed by GitHub
commit fb81f4166f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 291 additions and 235 deletions

View file

@ -157,6 +157,16 @@
"key": "enabled",
"label": "Enabled"
},
{
"type": "label",
"label": "List of parent object types where this is triggered (\"Shot\", \"Asset Build\", etc.). Skipped if list is empty."
},
{
"type": "list",
"object_type": "text",
"key": "parent_object_types",
"label": "Object types"
},
{
"key": "parent_status_match_all_task_statuses",
"type": "dict-modifiable",
@ -167,12 +177,27 @@
}
},
{
"type": "list",
"key": "parent_status_by_task_status",
"type": "dict-modifiable",
"label": "Change parent status if a single task matches",
"object_type": {
"type": "list",
"object_type": "text"
"type": "dict",
"children": [
{
"type": "text",
"label": "New parent status",
"key": "new_status"
},
{
"type": "separator"
},
{
"type": "list",
"label": "Task status",
"key": "task_statuses",
"object_type": "text"
}
]
}
}
]