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.
In Project Management, when importing a project created in v2 into v3 there is an issue with displaying the gantt chart - Known Error
  • >
  • Knowledge Base
  • >
  • Known Error (Knowledge Base)
  • >
  • In Project Management, when importing a project created in v2 into v3 there is an issue with displaying the gantt chart
KB0540255

In Project Management, when importing a project created in v2 into v3 there is an issue with displaying the gantt chart


812 Views Last updated : Oct 17, 2023 public Copy Permalink
KB Summary by Now Assist

Description

In Project Management, if you import a project created in v2 into v3 and try to view the gantt chart it does not display properly. The following message appears in the system log:

ProjectGanttSchedulePage::_returnItemsFromptm null projectTasks

Also, the project tasks with sub-tasks may not roll up correctly.

Steps to Reproduce

  1. Open Project Management.
  2. Import a project plan from v2 into v3.
  3. Click on the Gantt Chart UI action.

Workaround

The attached script file named update_migrate_projects.js can be used to migrate the v2 projects to v3 individually.

The sys_id needs to be replaced with the desired project sys_id at line 7:

roots.addQuery("sys_id",  "SYS_ID");

In case the source [pm_project] table contains only projects to be migrated, the sys_id condition can be removed completely.


Related Problem: PRB595181

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?

Attachments

Attachments

  • update_migrate_projects.js

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.