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

Issue States and Add to Project Actions #1047

Merged
merged 6 commits into from
Feb 14, 2023
Merged

Conversation

austincondiff
Copy link
Collaborator

@austincondiff austincondiff commented Feb 14, 2023

Goals

  • When new issue is created tagged with enhancement or bug, it should automatically be added to the project.
  • When issue card is moved into the Complete column in project, issue should be closed automatically.
  • When issue is closed, issue card is automatically moved into the Complete column in project.

Description

Adds issues to new projects with the add to-project action as seen here.

@austincondiff austincondiff changed the title Issue States Action Issue States and Add to Project Actions Feb 14, 2023
Copy link
Contributor

@matthijseikelenboom matthijseikelenboom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't know this was possible, but nice

@austincondiff
Copy link
Collaborator Author

austincondiff commented Feb 14, 2023

I didn't know this was possible, but nice

@matthijseikelenboom Apparently it won't work with the updated organization projects. 😢

Looking for alternatives.

@austincondiff
Copy link
Collaborator Author

austincondiff commented Feb 14, 2023

Maybe automate-projects or project-bot?

@matthijseikelenboom
Copy link
Contributor

Hmm now that I look at it, shouldn't it be the other way around? Instead of closing the issue on move within the board/project, should it move there when the issue is closed? We can close issues on PR merges.

@austincondiff
Copy link
Collaborator Author

@matthijseikelenboom I've updated the PR description with Goals

@austincondiff
Copy link
Collaborator Author

austincondiff commented Feb 14, 2023

When new issue is created tagged with enhancement or bug, it should automatically be added to the project.

Solved with add-to-project action

When issue card is moved into the Complete column in project, issue should be closed automatically.

No solution yet. We can just close the issue if we want to move the card to Complete though instead of moving the card manually. If we forget, then close the issue after it has been dragged to Complete.

When issue is closed, issue card is automatically moved into the Complete column in project.

Solved with Project Workflows

image

image

Does not work with organization workflows
0xWDG
0xWDG previously approved these changes Feb 14, 2023
@austincondiff austincondiff merged commit 98f9722 into main Feb 14, 2023
@austincondiff austincondiff deleted the issue-states-action branch February 14, 2023 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants