Create Incident ticket using URL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2015 09:22 PM
Hello,
Would like to know if it's possible to create incident ticket using url e.g.
https ://xxxxxxx.service-now.com/incident.do?sys_id=-1&sysparm_query=active=true&sysparm_stack=incident_list.do?sysparm_query=active=true .....
and with some basic mandatory field e.g Company, Assignment Group etc.
The main idea is just to include some mandatory fields and create a incident ticket and assigned to a group automatically.
Thanks.
Note : We are not developers or Service Now Admin, just pure Service Now user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2015 10:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2015 11:07 PM
Correct, but you will need the sys_id of the Company to go on the value part of the query, which is what goes in the right side of the = for each reference field.
To know which are the sys_ids you may want to:
1) create (or use an existing incident) with the respective reference values that you want to use.
2) Once you have the record saved you right click on the incident header and you select the copy the URL option. That URL will show you which are the sys_ids that you should be using.
Thanks,
Berny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2015 06:44 PM
Thanks Berny, sorry for the pain
Found out the sys_id
sys_id=04d9d8180fb14e00bab2fc4ce1050e5e
question ; how do I create a new ticket using
i.e. using sys_id=-1 and sys_id=04d9d8180fb14e00bab2fc4ce1050e5e at the same time
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2015 07:15 PM
Hi Sam, no worries.
It will then be something like:
yourinstanceurl/incident.do?sys_id=-1&sysparm_query=short_description=hello^impact=2^caller_id=04d9d8180fb14e00bab2fc4ce1050e5e
Notice that on the above path i'm creating a new incident with:
Short Description Hello
Impact 2
Caller Id the one you defined with the sys id
Do notice that each parameter goes separated by a ^. I'm mentioning this in case you need to set more fields.
I hope this is helpful !
Thanks,
Berny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2015 07:20 PM
Hi Sam, i believe that with that you should be all set.
Would you mind confirming that it worked for you and mark the responses as helpful/correct so that we can close this thread?
Thanks,
Berny
