- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-22-2016 04:23 AM
Hi All,
Please advise me on how to configure the option/button for creating New Child Incident from being on the Parent incident form. Once the Create New child is clicked, it should link to the existing parent on which we are currently in?
Can someone help me with the steps I need to follow in order to achieve this? If anyone has done this, please share the script pattern for the same.
Awaiting your response.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2016 02:02 AM
1) If your requirement is to achieve it specifically via a UI button then have a UI Action with below code.
var inc = new GlideRecord("incident");
inc.initialize();
inc.short_description = 'Child Incident';
inc.parent = current.sys_id; //Relating the current incident as the parent
var sysID = inc.insert();
gs.addInfoMessage("Child Incident " + inc.number + " created");
action.setRedirectURL(inc);
action.setReturnURL(current);
2) You can also do this via the related list as Mrudula suggested. Personalize/Configure the list control and ensure the 'Omit new button' is unchecked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2017 01:13 PM
How would I go about inheriting certain fields from the parent to the child incident?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-12-2023 10:13 AM
Hello Pavitra,
Are you able to connect the child and parent incident in this scenario. If yes can you please explain the process.
Thanks in Advance.
Jitendra
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-03-2016 06:46 AM
Does anyone know how to create an indicator to differentiate parent and child incidents?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2016 09:00 PM
Hi Pavithra,
You can relate parent child using simple related lists. Follow steps below :
1. Open incident form
2. Right click banner and select personalize> Related lists
3. Select Incident -> Parent
4. click Save
5. Now beneath any open form, you can see an Incident tab in related list. Click on a new button and the new incident would be child incident to the current incident.
The new incident will have parent field populated.
Let me know if this helps.
Regards,
Mrudula Manjrekar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2016 09:27 PM
Hi Mrudula,
I tried this already, but this only works for system admin role and not for any other roles. So when I try to login as a Service Desk User, I only see the edit button there meaning, as a Service Desk user, I can relate two already created Incidents as Parent and child but cannot create a new Child Incident from Parent.
I had also given itil_admin role as well, but still did not work
Can you please check if the same behavior is observed for you as well?