Accessing Task Split Information outside of Gantt

Hello!

When splitting a task on the gantt (Right Click > Split On [current day]) is there any way to access the dates in which the task in split via a field or through the API?

In other words, is there any value that represents the calendar days in which the task isn’t actively scheduled between it’s start and due date? The duration field calculates the total duration with the split(s) in mind, but I’m having a hard time to retreive the dates in which the task is split (without looking at the gantt).

Thanks!

-Phil F

replying to this to try and boost! Still wondering if this is possible, no solution found on my end.

Solution:

The field that returns this information is on the task entity (not visible in Shotgrid, but accessible via API), appropriately named ‘Splits’.

Example:

SplitTest = sg.find_one(entity_type=‘Task’,
filters= [
[‘id’,‘is’,id]
],fields=[‘splits’])

pp.pprint(SplitTest)

Output:

{ ‘id’: id,
‘splits’: [ {‘end’: ‘2022-01-16’, ‘start’: ‘2022-01-11’},
{‘end’: ‘2022-01-21’, ‘start’: ‘2022-01-20’}],
‘type’: ‘Task’}

2 Likes