-
Notifications
You must be signed in to change notification settings - Fork 16
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
using API with MetaMagic #76
Comments
if metamagik is preventing api then there would be an error log somewhere. I've never had an issue, so I'd just be shooting blindly at a problem that seems to only exist on your end. if you have more information, let me know. |
for reference |
produce an error log, and I'll be happy to take a look. the api response would even help. otherwise, I cant help you. |
That's exactly my problem. what I need is combination of |
I can update the |
I'll test it out when I get time. I dont know python though. but, thinking about it, you may be right, you might not be able to do both in 1 command. but, again, if you read #39 you see where I talk about metamagik being a pretty face. it works with what is given from the base code. not to say it can't be done, but it's more a feature request and not an issue. |
curl will be enough. |
if I never get around to this, which I will admit, my time is very limited: I wrote api commands for this plugin. so you or anyone else could take cues, possibly come up with a solution. |
Sadly this is still an issue. Would love to use this plugin and be able to use the api |
can you tell me why you can't? I guess my question is, what are you missing? I mean, even based on the OP, worst case scenario, 1 api request to make a task, 1 api request to update the metadata. nothing is stopping that from working, as all these api's are built in. |
ok, after re reading this issue, i think my feeble brain has finally understood the issue. if you have a custom field in a project that is "required" and you are using api to create a task, you can't. Now I need to wrap my head around it. |
Give that a try, use api action "createTaskMeta" to create a task. Currently it works exactly as "createTask" in KB core, but i added a switch so that the TaskCreationModel knows it is an API procedure, and will not try to add any custom fields. This does not allow you to add custom fields during task creation through API, but should allow you to create a task at least. It is untested. so I will be surprised if it works off that bat, if it does, damn im good at guessing. |
Ok i will try it with the latest from this repo |
I get this error |
I installed fresh kanboard and new metaMagic folder with all files from master branch here |
perfect, error code tells me what I forgot, ill update and we can try again. |
well, im getting stumped. mine dies in the task validator. If I bypass the validator, it works fine. at least im close. |
and then i remembered I overrode the task validator....duh |
now it is all set. |
I will try it tonight or tomorrow |
sounds good, I actually tested it this time, so it should be straight. |
Cool! |
Just tested it: Still not possible to create tasks when MetaMagic is installed. I loaded ZIP here from GitHub. |
you have to use the new api action. "createTaskMeta" maybe you know that though, ill take a look, but it was working fine for me when I tested. |
Oh no I used createTask. Thanks |
Hello,
Thanks for the plugin. It is very useful for me.
Recently, I started to use Kanboard API with python to automate part of my job.
How ever, for the projects that I use
cusom fields
, I can not create a task with api.when I delete the custom fields of that project, the api works fine.
I do not get any error so there are no logs.
It just don't work.
Any idea how can I use api when using MetaMagic on a project?
Thanks
The text was updated successfully, but these errors were encountered: