- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 08:16 AM
Scheduled reports to send to assignment group managers when the tickets are unassigned or assigned to field is empty, how can we achieve it, please help me.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-27-2023 12:00 PM
@bhanu27 you can include this report too, follow all the steps as is except Step 3: Mail Script.
Copy the sys_id of your report then in Step 4: Notification replace
${mail_script:ag_unassigned_incident_report}
With
${report:reportID:YOUR_REPORT_SYSID}
This will include your report as PDF attachment in the notification email.
Please mark my answer helpful and accept as solution if it helped you 👍✅
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2023 08:51 PM
@bhanu27 Who is the run as user for Scheduled Job? And check the user which you are using to test (i.e. changing the assignment group) have access to table , are there any ACL restrictions (report type ACL also).
And try creating a new simple report and try to insert that in the code and check, whether you are getting the same error or not?
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 10:14 AM
Hi @bhanu27 ,
By tickets i am assuming you mean incidents , then in that you can create a report on incident table and then add the filter conditions of assigned to is empty.
After saving the report you can schedule a report to run it periodically sample below :
Just make sure if you are scheduling report you need to send a link as well too see the live data.
Refer below URL:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 10:54 AM
Hi @Anubhav24 ,
scheduled reports to send to assignment group managers when the incidents are unassigned or assigned to is empty
if unassigned ticket count for that assignment group is 5 or more.
How can we achieve, may be script under schedule job reports possible? can you please help me on this.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 11:22 PM - edited 10-26-2023 11:27 PM
Hi @bhanu27 ,
There is a field reassignment count you can use that to put it in condition as Reassignment Count is greater than 5.
I think to do some calculations you can use Function field as well :
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2023 07:37 PM
Hi @bhanu27
What is the frequency of this reporting you want?
You want this mail to be triggered immediately on unassigned count reaching 5 or more?
OR
At particular time in a day? Or repeated intervals in a day?
Please let me know I'll try sharing the script for the same.
Anvesh