Skip to main content

Issues and PRs > Resolving PR first closed at

Tom Williams avatar
Written by Tom Williams
Updated over 3 weeks ago

Dataset: Issues & Pull Requests

Entity: Issues

Field ID: resolving_pr_first_closed_at

Type: Datetime

Description: The earliest closure date among all resolving PRs. (via auto-closing keywords). It is only applicable to issues.

Source: Calculated

Transformation logic:

  • Pull Requests: Not applicable. This field will always be null.

  • Issues: The earliest occurrence of all closed_at fields from resolving pull requests. The null values are ignored. A null value is returned only if all closed_at values are null.

From:

Github (PRs, Issues)

Calculated

Gitlab (PRs, Issues)

Calculated

Bitbucket (PRs)

N/A

Azure DevOps (PRs, Issues)

Calculated

JIRA (Issues)

Calculated

ClickUp (Issues)

Calculated

Trello (Issues)

Calculated

Reporting Use Cases

The Resolving PR First Closed At field captures the timestamp when the first pull request linked to an issue was closed (either merged or discarded). This is a key milestone for measuring the initial development cycle and identifying issues that require multiple attempts or long verification periods.

  • Measuring "Time to Initial Implementation": This field allows you to calculate how long it took from an issue's creation to the first completed development attempt.

    • You can measure this initial cycle time with the custom formula (resolving_pr_first_closed_at - created_at) / DAY().

  • Identifying Rework and Verification Bottlenecks: By comparing this timestamp to the issue's final closure date, you can see how much time was spent after the first PR was finished.

    • The formula (closed_at - resolving_pr_first_closed_at) / DAY() calculates this "post-implementation" phase. A large gap here often indicates either a long QA process or that the first PR didn't fully solve the problem, requiring subsequent PRs (rework).

  • Filtering for Recent Activity: You can use this field to find issues where development has recently finished, even if the issue itself is still open for testing.

    • Use a filter like Resolving PR First Closed At in the previous 7 days to identify issues that have just moved out of the active coding phase.

Did this answer your question?