Skip to content

Project key sanitization needed #39

@jtcsProjHub

Description

@jtcsProjHub

It is possible to have a project key that corresponds with a Jira reserved word (ex. 'AS'). Jira will even happily automatically make these keys for you on project creation based on the project name. If you have such a key, the Compass component migration tool fails with a 400 error HTTPS response because the key is a reserved word and is not encapsulated in single quotes.

"Error in the JQL Query: 'AS' is a reserved JQL word. You must surround it in quotation marks to use it in a query"

While I can locally handle the issue, there should probably be some more complete solution added to the script. Don't want to dread too big, but perhaps the Atlassian project creation wizard could also not automatically create project keys that appear on the reserved word list.

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