URL Link to Tickets by Ticket Number

myee
Kilo Expert

I am trying to figure out if there is a simpler way to form a URL to a specific ticket. I know that for a given ticket, if I know the sys_id of a ticket, I can query using the following URL:

https://myinstance.servoce-now.com/incident.do?sys_id=46a8e37c0ba7d000352414d9879b13ae

However is there a method where I can query a ticket by the ticket number. For instance, if I knew that I wanted a link to incident 123456, I would ideally like to create a URL such as:

https://myinstance.servoce-now.com/incident.do?id=123456

1 REPLY 1

cwhaley
Kilo Expert

You can achieve this by building your query directly in the url. So, instead of sys_id=, you'd do sysparm_query=number%3D. This is more commonly done with list views but, if you know the query will return one record, you can just go straight to the .do page with that query applied.

Here's an example that will take you to INC0000003:
https://demo02.service-now.com/incident.do?sysparm_query=number%3DINC0000003

For more info, you can check out this link:
http://wiki.service-now.com/index.php?title=Navigating_by_URL