Skip to content

[Sub-Task] Normalize Label Parsing for Auto-Intake Workflow #7

@erifystudio

Description

@erifystudio

Summary

As a sub-task of #3 Feature: Auto-intake & Sprint Mapping, we need to normalize how labels are parsed in the GitHub Action so fields (Priority, Size, Cycle) always map correctly.

Problem

The Action currently expects exact label formats (priority:P1, effort:M), but contributors may use different capitalization or spacing. This causes fields in ERIFY Studio Team Planning (4PW) to remain unset.

Proposed Solution

  • Add normalization logic in the Action:
    • Lowercase all labels before parsing.
    • Trim whitespace.
    • Accept synonyms (P0 vs priority:P0).
  • Add fallback to default Priority = P2 if no match is found.

Acceptance Criteria

  • Label matching works regardless of capitalization or spacing.
  • Priority and Size fields always set when labels are present.
  • Issues labeled planned always assign to Cycle @current.
  • Tested with a dummy issue containing varied label formats.

Additional Context

This sub-issue supports the larger automation effort (#3) and ensures reliability for sprint planning and capacity views.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationImprovements or additions to documentationduplicateThis issue or pull request already existsenhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is neededinvalidThis doesn't seem rightquestionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions