github-project-automation-plus icon indicating copy to clipboard operation
github-project-automation-plus copied to clipboard

Handling multiple projects

Open kammce opened this issue 5 years ago • 4 comments

I have multiple projects and I want the column action to move a card is already in a project, to a specific column within that project. If the card does not have a project than no action occurs or I can send it to a "unassigned" project, if I need to have some field available.

kammce avatar Jun 23 '20 13:06 kammce

That is a great idea. Thanks @kammce. I think this should be quite easy, we pass an array of projects and run the action for each one. Would you be interested in making a PR?

alex-page avatar Jul 15 '20 12:07 alex-page

When I get free time I'll see if I can make that happen.

kammce avatar Jul 16 '20 13:07 kammce

I have multiple projects with the same structure in my organization and I'd love if I could leave the project field empty so that it automatically moved issues to a column of the same project the issue is currently in. This way I could reuse the same yml file for all my repos and projects.

name: Move assigned issues into In progress

on:
  issues:
    types: [assigned]

jobs:
  automate-project-columns:
    runs-on: ubuntu-latest
    steps:
      - uses: alex-page/[email protected]
        with:
          project: * <-- something like this or make it optional
          column: In Progress
          repo-token: ${{ secrets.GH_ACTIONS_TOKEN }} 

germanfr avatar Oct 22 '20 10:10 germanfr

My use case is similar. I have multiple projects for different teams on org level, they all have the same structure. I already automated adding issues to the To Do column in the right project based on team labels. Now I want to move cards inside the project they're already in based on combination of labels, i.g. Doing + Priority A => High Priority, Doing + Priority B/Priority C => Low Priority. Is there a way to do it?

maryanamedichi avatar Nov 14 '21 22:11 maryanamedichi