#648 Have some way to link an PR with one or more issues.
Closed: Fixed 5 years ago Opened 8 years ago by ryanlerch.

It would be nice to be able to link a PR as fixing one or more issues.

Depending on project settings, it might also be a nice feature to automatically close those issues as fixed when the PR is merged too


It looks like this is currently already implemented with a pagure hook. If you add "Fixes: #123" to a commit in a PR, this gets closed when the PR is merged.

It might be nice to have the releated issues shown in the metadata somewhere in the PR too, so users can see that at a glance too.

@ryanlerch, so there should be another field in the metadata, say Associated PR(s) mentioning the PRs like: #123, #124 etc. ?

I thought of multiple PRs in case when there is a PR which gets merged and ticket gets closed but after some time the ticket is reopened, maybe because it wasn't fully solved.

i read the issue incorrectly, but i guess the above statements do make some sense. Also, we can definitely do similar thing for PR metadata.

Metadata Update from @ryanlerch:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

5 years ago

Login to comment on this ticket.

Metadata