Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling multiple projects #46

Open
kammce opened this issue Jun 23, 2020 · 4 comments · May be fixed by #80
Open

Handling multiple projects #46

kammce opened this issue Jun 23, 2020 · 4 comments · May be fixed by #80
Labels
good first issue Good for newcomers

Comments

@kammce
Copy link

kammce commented Jun 23, 2020

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.

@alex-page
Copy link
Owner

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 alex-page added the good first issue Good for newcomers label Jul 15, 2020
@kammce
Copy link
Author

kammce commented Jul 16, 2020

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

@germanfr
Copy link

germanfr commented Oct 22, 2020

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/github-project-automation-plus@v0.3.0
        with:
          project: * <-- something like this or make it optional
          column: In Progress
          repo-token: ${{ secrets.GH_ACTIONS_TOKEN }} 

@maryanamedichi
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
4 participants