URL Link to Tickets by Ticket Number
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2012 10:35 AM
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
- 14,122 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-29-2012 11:11 AM
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