Skip to content

Index project script should also reindex timelines and milestones #608

Open
@maxceem

Description

@maxceem

We have endpoint for re-indexing project by admin: /projects/admin/es/project/index, see https://github.com/topcoder-platform/tc-project-service/blob/develop/src/routes/admin/project-index-create.js

  • When we call it reindex all the data we have in the project index.
  • Though we also have some data in timelines index, like timelines and milestones of the project.
  • So when we reindex project, we also have to find all the timelines and milestones of the project and reindex them too.

The same should also work for data export script:

  • npm run data:import and npm run local:init

For the demo, we have to update npm run data:export script so it also exports timelines and milestones of the projects and updates demo data accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions