- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-19-2024 02:02 PM
I need to fetch the details for each task from the Visual Task Boards.
While I can find most of the details needed using this endpoint:
`https://instance-name.service-now.com/api/now/table/vtb_card?sysparm_fields=sys_id,task,task.number,...`,
I cannot access the labels I assigned to tasks on the UI.
I appreciate any help.
Thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-20-2024 08:07 PM
I found the answer in this thread:
https://www.servicenow.com/community/itsm-forum/how-do-i-lookup-tags-associated-with-any-task-record...
The path that helped me is this one:
"/api/now/table/label_entry?sysparm_query=table=vtb_card^label.nameINFeature,Idea&sysparm_fields=label.name,table_key"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-20-2024 06:57 AM
I believe those are stored in the 'tags' field on the VTB card record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-20-2024 08:05 PM
Thank you, Steve.
Actually, I have to search for the labels attributed to each task from VTB in the label_entry table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-20-2024 08:07 PM
I found the answer in this thread:
https://www.servicenow.com/community/itsm-forum/how-do-i-lookup-tags-associated-with-any-task-record...
The path that helped me is this one:
"/api/now/table/label_entry?sysparm_query=table=vtb_card^label.nameINFeature,Idea&sysparm_fields=label.name,table_key"