- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 04:08 PM
attaching kb to incident via rest api.
i am able to create an incident using api but when closing i need to attach a default KB article to it.
any way to do it ?
if the kb article gets v1 or v2 , how can i get the updated version in ? or i need to update the api call again ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 07:40 PM - edited 11-29-2023 07:41 PM
If you are closing the incident via api then send the whole KB related data as a string value and update in additional comment, system will add that KB Article link in activity log.
explain, how you are closing this incident.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 07:32 PM - edited 11-29-2023 07:33 PM
It's not clear, how you are closing the incident , manual or via some scripted rest api call or table api call.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 07:35 PM - edited 11-29-2023 07:39 PM
" Incident table has a journal field "Attached KB Article", you can set the KB value via rest api call same as you are setting the other field values" how can i do that via api ? how can i ensure the update article get attached ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-29-2023 07:40 PM - edited 11-29-2023 07:41 PM
If you are closing the incident via api then send the whole KB related data as a string value and update in additional comment, system will add that KB Article link in activity log.
explain, how you are closing this incident.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2023 11:38 AM
@chercm, just checking if you got the desire result here, if so , please accept the solution.
-Thanks