-
Notifications
You must be signed in to change notification settings - Fork 28
Adding support for Column changes on Tasks #45
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
Conversation
Flexicon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍 seems to run fine locally too
| log::message "Task found with the id: $task_id" | ||
|
|
||
| export TEAMWORK_TASK_ID=$task_id | ||
| local -r project_id="$(teamwork::get_project_id_from_task "$task_id")" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @rkreutz our deskclient builds are failing now with the error saying /src/main.sh: line 45: local: project_id: readonly variable.
https://github.com/Teamwork/deskclient/pull/4845/checks?check_run_id=3280181461
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess removing that -r will fix it, will open a new PR for that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually just removing the quotes should do, gonna try adding this to the tests to confirm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It only fails for task descriptions that have more than 1 TW task link.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a proposed fix for this issue here: #47
About
This PR adds the capability to move tasks across Columns in Project during the different stages of a PR.
How
I'm introducing three new inputs:
BOARD_COLUMN_OPENED,BOARD_COLUMN_MERGEDandBOARD_COLUMN_CLOSED. The tasks would be moved to the specified columns as the PR is opened, merged or closed (respectively).On our workflow this would be extremely helpful, since we use the Board view in Teamwork to visually see what's the status on each task, we would start the task by moving it to "In Development", then once a PR is open we move it to "Has PR" and finally once the PR is merged the task is ready to be tested and moved to "Nightly". Optionally we may move the task back to "Selected For Development" in case the PR was rejected and closed.