Skip to content

Update JIRA ticket with status on merge #62

@srl295

Description

@srl295

@sffc this is somewhat of a question.

  • Does the pr-check get notified when a PR is merged?

Context: https://unicode-org.atlassian.net/browse/CLDR-15400

There's sometimes confusion when a PR or commit mentions a JIRA ticket but isn't targetted at that ticket. xrefs are super helpful, but can add noise. (I filed this ticket to try to avoid needing some kind of policy that restricts mentioning other tickets.)

Jira's "developer" field isn't really a field, you can't really search for "Tickets that have commits" and even if you could, you don't know if the ticket was really fixed by the PR or just mentioned by it.

If pr-check gets notified on merge, then it could actually update a Jira field, something like "mergedIn".

  • For branch maint/maint-43 it could definitely add maint-43 to mergedIn.
  • For branch main it could add main to mergedIn

More advanced:

  • We could somehow use the current version logic to actually use the "targeted release version" for that branch for the mergedIn field.
  • mergedIn should be a list, not a singleton, because of cherry picks.

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