mirror of
https://github.com/plankanban/planka.git
synced 2026-02-24 19:08:59 +03:00
Auto Create Cards #635
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @JordanPicton on GitHub (Jan 22, 2025).
Is this a feature for the backend or frontend?
Backend
What would you like?
I would like to be able to setup a certain task and I assume this would be helpful for others too.
The idea is to have a way for automatic creation of a card basically. For example right now I'm using Plankanban to keep track of daily things that I need to do, not in the same way as Notion but I can give an example below.
Before I get told, I know I'm bad at consistency but this is due to change, anyway the thing I'd be looking for is to have an automated way to take the previous day card and then create a new one that removes the checked boxes and transfer the unchecked ones to the new day keeping the cycle going.
I'm sorry if I didn't explain this in an easy way but I'll summarise below:
Todo list card, new card is created for the next day, using the previous card it removes all the items that have been checked (completed) and copies over the unchecked content to this new card.
Thanks in advance,
~Jordan
Why is this needed?
Not really needed but automation is key and having it would save time from duplicating the card manually, changing the title, dragging it to the top, and then removing the checked boxes.
Other information
No response
@batthias commented on GitHub (Jan 24, 2025):
I would kind of assume this (and many other things) could be achieved using something similar to Trello‘s "Automation" features. Having something like that could solve many of those use cases.
Certainly that feature is what still keeps me on Trello instead of just using a self hosted planka instance for everything.
Potentially one could just allow priviledged users to write custom javascript "hooks" per project (instead of having to invent a "user friendly" interface) that get called at certain points.
@hwelch-fle commented on GitHub (Jan 24, 2025):
Edit: I've added this to the
examplesdirectory in the plankapy repo if you want to pull it from thereI've written a python API interface for Planka called plankapy that can accomplish this with some pretty simple scripting:
This script will also handle the creation of new boards and lists as needed if the previous day falls on a different month or year (utilizing the
timedeltaobject in the python standarddatetimepackage)Initial State:

State after running script:
To use this, just
pip install plankapyand run this in your terminal manually or set up a chron job to run it every morning!@JordanPicton commented on GitHub (Jan 26, 2025):
I'll have to give this a look when I'm back home, though how would this work when it comes to running Planka via docker compose?
@hwelch-fle commented on GitHub (Jan 26, 2025):
It's interacting with Planka using a user account and an endpoint. You'd just have to run the script from a computer that can access your planka instance and it'll work.
This is entirely standalone from Planka itself, so you don't need to do any additional setup beyond
pip install plankapy, writing your script, then running it.