( value: string | null | undefined, paramName = 'cloudId' )
| 615 | * ``` |
| 616 | */ |
| 617 | export function validateJiraCloudId( |
| 618 | value: string | null | undefined, |
| 619 | paramName = 'cloudId' |
| 620 | ): ValidationResult { |
| 621 | return validatePathSegment(value, { |
| 622 | paramName, |
| 623 | allowHyphens: true, |
| 624 | allowUnderscores: false, |
| 625 | allowDots: false, |
| 626 | maxLength: 100, |
| 627 | }) |
| 628 | } |
| 629 | |
| 630 | /** |
| 631 | * Validates an Atlassian Assets workspace ID (a UUID-shaped, hyphenated |
no test coverage detected