简体   繁体   中英

How do I add custom fields to a task with the Java Asana library?

This is my created task:

Task parentTask = client.tasks.createInWorkspace(personalProjects.id)
            .data("name", "taskname"+new Date())
            .data("projects", idList)
            .execute();

Oh, bummer. You caught a bug: although I added the new resources to the Java client library for Custom Fields, the Task model didn't get updated with the new properties at the same time :( Sorry about that. I've created a bug report and we'll get to it with our next round of client library updates.

Thanks for letting us know!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM