Skip to content

Import templates: support references to other templates that are present in the import JSON #583

@Toutouwai

Description

@Toutouwai

To illustrate, I am importing JSON for two templates: categories and category. The childTemplates for the categories template is category and the parentTemplates for the category template is categories.

All the necessary data is present in the import JSON, but currently the import process defaults to not importing the templates and showing these warnings:

Image Image

The workaround is to manually select "Yes" for "Create this template?" for each template, and after importing to to then run the import process again in order to get the childTemplates and parentTemplates properties imported.

But it would be nice if the import process could realise that the templates referenced in childTemplates and parentTemplates are actually present in the import data and therefore default to enabling "Create this template?" and automatically running the import again if this is necessary to complete the import.

I expect that something similar would be useful for Import Fields, e.g. showIf/requiredIf references.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions