New API: getTasks
1 1

4 posts in this topic

Hey eight,

If you have a project you can do:

session.query('Task where project_id is "<project-id>"').all()

If you have another non-project object id you will have to resort to a more hacky solution:

session.query('Task where is "<object-id>" or is "<object-id>"').all()

I.e. using the parent relation to the depth that you know you have in your project.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
1 1