What is purpose of placing pull request inside project board on Github?

635 views Asked by At

I recently discovered that you can create Milestones and Project Boards on Github repositories.

With project boards, you can place issues and pull requests and move them around the boards (Kanban).

But what is the purpose of having pull request inside boards ? Aren't pull request associated with issues ? Why would I place pull request inside board ?


UPDATE:

As user @BertrandMartel pointed out(read answer below), it's all about how you use issues and pull request. Since Github is home for Open Source Development, users of software could create an issue to report something, but developers can create pull request to do their work. Developers don't have to report an issue, they only create features. Same is applied for end users; they probably want to point out if something is missing or not working properly. They are not expected to work on a project(create pull request).

1

There are 1 answers

4
Bertrand Martel On BEST ANSWER

When you add a pull request or an issue to the project board, it means you create a reference to an Issue or a pull request. No modification is done to the Pull request, it just says that this card links back to that pull request

Also a pull request is not associated with an issue. In fact a pull request is a special type of issue (note that it has a number field which is incrementing like the issue number when you create one). A pull request may be linked to other issues

But what is the purpose of having pull request inside boards

You can assign notes to it and associate them with a kanban style card which can be moved between different columns. Each columns having different meaning in terms of project management for your team

The model is the following :

  • Project
    • ProjectColumn
      • ProjectCard
        • ProjectCardItem (may point to Issue or pull requests)

Here is a graphical representation from graphql voyager :

enter image description here

From About project board :

Project boards are made up of issues, pull requests, and notes that are categorized as cards in columns of your choosing. You can drag and drop or use keyboard shortcuts to reorder cards within a column, move cards from column to column, and change the order of columns.

Project board cards contain relevant metadata for issues and pull requests, like labels, assignees, the status, and who opened it. You can view and make lightweight edits to issues and pull requests within your project board by clicking on the issue or pull request's title.