Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Change a report owner/creator - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Change a report owner/creator
KB0719808

Change a report owner/creator


10141 Views Last updated : Apr 7, 2024 public Copy Permalink English (Original)
  • English (Original)
  • Japanese
KB Summary by Now Assist

Issue

Symptoms


If the report is created by a user(Fred Luddy) and that user(Fred Luddy) can view his report in View / Run module under "My Report" section. If user (Fred Luddy) leaves the organization, then another user (ITIL user) cannot have the ownership of the report that user(Fred Ludy) has created, as report is being owned by Fred Luddy.

Release


Jakarta, Kingston, London

 Cause


  • The owner has an access to view his reports in "My reports" section whereas other users cannot view this report in "My Reports" section. At a time only one user can have the ownership of the report.

Resolution


In order to change the owner of the report please follow the below Steps.

  1. Log in as an "admin" user in the instance.
  2. Go to System Definition --> Scripts - Background and execute below script accordingly.

var gr=new GlideRecord('sys_report');

gr.addQuery('sys_id','c825d02fdb8623001fbca0f2ca96190e'); //Sys Id of report

gr.query();

if(gr.next()){

var name=gr.title;

gs.print('Name of report '+name);

gr.user= '681b365ec0a80164000fb0b05854a0cd'; // Sys Id of User you want to make the owner of the report.
gr.created_by_user = '681b365ec0a80164000fb0b05854a0cd'; // Sys Id of User you want to make the owner of the report.

gr.update()

}

Please note Sys Id of the report can be found in "sys_report" table and Sys Id of User can be found in "sys_user" table.

 

Additional Information


This KB can be used if the customer wants to change the owner of the report.


The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.