You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
JobItem drops statusNotes from job responses (per-row detail lost) #1850
This is documented as the Query Job response schema — the doc lists enumerated type values like CountOfUsersAddedToSite, CountOfUsersSkipped, CountOfUsersWithInsufficientLicenses, CountOfUsersInformationUpdated, etc.
Reproducer
Verified live against Tableau Server 2025.1. POST /sites/<id>/users/import returns a job; polling GET /sites/<id>/jobs/<job-id> after completion returns XML like:
Callers can't tell what happened at the row level. For user-import jobs, that means no way to distinguish "5 added, 1 skipped" from a general "job finished with finishCode=1". Any caller wanting to emit per-row status output has to bypass TSC and parse the raw XML themselves.
Proposed fix
Add a new structured status_notes property on JobItem, populated from <t:statusNotes>/<t:statusNote> with all three attributes preserved:
Leave the existing notes: list[str] untouched for backwards compatibility.
Discovered while
Planning tabcmd createsiteusers --nowait / --silent-progress work (tableau/tabcmd#35). The current tabcmd 2 command prints one line per row imported; switching to bulk_add + wait_for_job for Classic parity needs per-row status back — which requires this data.
Activity