-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SALTO-7356: block system generated fields deployment #7202
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the code and the article LGTM,
had some small comments on the code, approve in advance
I think a native English speaker should review the article as well.
}) | ||
|
||
const jsmFieldToTemplateName = (field: string): string | undefined => { | ||
const map = PROJECT_TEMPLATE_TO_FIELDS() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is it a function and not a constant?
I find it weird to use a function with SCREAMING_SNAKE_CASE
}) | ||
|
||
const jsmFieldToTemplateName = (field: string): string | undefined => { | ||
const map = PROJECT_TEMPLATE_TO_FIELDS() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please rename map
to something more informative
@@ -41,12 +38,12 @@ const jsmFieldToTemplateName = (field: string): string => { | |||
} | |||
|
|||
export const lockedFieldsValidator: ChangeValidator = async changes => | |||
awu(changes) | |||
changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😄
Those fields can be created by Atlassian and create duplicates, we should not deploy them
See ticket for more information.
I checked only the 3 templates that were the major ones in the previous one, there might be additional fields in the other templates.
Please also review the article, I will publish it once approved and update the reference in the CV accordingly
Release Notes:
Jira Adapter:
User Notifications:
None