How to get list of Tasks associated with an App Item?

Answered

Comments

19 comments

  • Casper Fabricius

    You are correct, Get tasks is the method to use. You'll want to use the reference parameter to indicate the app item(s) you want to find tasks associated with. Here's an example, if you are calling the API directly:

    GET https://api.podio.com/task/?reference=item:1234;item:5678

    If you use one of our client libraries you will have to use the corresponding method, but the reference syntax is the same.

    Bear in mind that you must be authenticated as a user who can view these items and tasks. The Get tasks operation does not support app authentication.

    0
    Comment actions Permalink
  • Mike Schinkel

    Hi Casper,

    Thanks for the quick answer.  

    Can you clarify what you mean about authentication?  My goal is to write a bot and/or web service that will allow me to created what I will be calling "Task-related Apps" with an "Assignee" Contact field, and then whenever one of those Apps is created, updated or deleted to automatically create, updated or delete a Task for the the person listed as Assignee.   Can you tell me if the limits on authentication will allow me to do that?

    -Mike

    0
    Comment actions Permalink
  • Casper Fabricius

    There are different ways to authenticate with the Podio API:

    https://developers.podio.com/authentication

    For bots/webservices we generally recommend using app authentication, as that allows you act "as an app" rather than "on behalf of a user". Only API operations that are directly tied to an app can be used with app authentication. Get tasks cannot be used with app authentication, as tasks are not necessarily tied to an app.

    So you'll probably have to create a "dummy user" that is member of the spaces needed, and then go with username/password authentication. It's not something we usually recommend, but if you don't have any user interaction with your app, it can be necessary.

    0
    Comment actions Permalink
  • Mike Schinkel

    So this dummy user, it can assign tasks to other users and also get a list of tasks of those users?

    0
    Comment actions Permalink
  • Mike Schinkel

    Also, if you don't recommend that, are you planning an improvement to the API to better enable these scenarios?

    0
    Comment actions Permalink
  • Christian Holm

    I think you are going about this the wrong way. Do you really need to use tasks? I think it might be better for you to create a "task" app.

    0
    Comment actions Permalink
  • Casper Fabricius

    You can use any user with sufficient access, it could be your own Podio user for that matter. I'd just recommend using a dummy user so it's clear that's an automated thing that happened.

    And no, we don't have any plans to add further ways of authenticating.

    0
    Comment actions Permalink
  • Mike Schinkel

    Christian, We are creating a Task App, we are actually creating six (6) different Task Apps:

    1. Product Issues
    2. Product Feature Requests
    3. Product Doc Requests
    4. Project Tickets
    5. Product Deliverables
    6. Systems Requests

    The problem with this approach is that people who have to do the tasks have to fish around in six different place to find the their task list which is not realistic nor will they actually do it, no matter what we "require" of them. The very purpose of this request was so I can build a WebHook listener and a Bot that can keep those 6 Apps and Task in sync.

    BTW, I've long conversations with two other users of Podio and we all agree this is one of the bigger difficulties with using Podio, which is why I'm building a WebHook listener and a Bot to try to address those issues. :)

    0
    Comment actions Permalink
  • Mike Schinkel

    Oops, that was supposed to be "Project Deliverables." 

    0
    Comment actions Permalink
  • Mike Schinkel

    Hi Casper, 

    If a dummy user actually does work for this then it's more than sufficient solution. Thanks!

    -Mike

    0
    Comment actions Permalink
  • Vanessa Duran

    Hello, were you guys able to make this work? 

    I have an app I use as a CRM. I have also created tasks under items within this app and I would like to be able to see these items listed when I go to the items within this app. Does this procedure accomplish this? If so, how were you able to make it work? All help is greatly appreciated!

    0
    Comment actions Permalink
  • Mike Schinkel

    Hi @Vanessa Duran,

    Yes, using the API the answer posted by @Casper does work. However...

         "I have also created tasks under items within this app and I would

    _
         like to be able to see these items listed when I go to the items

         within this app."_

    I'm not sure if it does what you are looking for, and did you write your question correctly or did you mean to say:

         "...I would like to be able to see these tasks listed when I go to the items within this app."

    0
    Comment actions Permalink
  • Vanessa Duran

    Yes! I wrote it wrong, but you guys are so good you knew exactly what I meant. Sorry. I was working late and already mixing up words.

    API working. Interested to see how it will look after I have a tons of tasks assigned to a particular item. And to see how long will completed tasks will stay there. I am particularly interested in keeping a history of what has been done for a particular client (which are the 'items' within this app) and by whom, etc. 

    thanks again for your prompt response.

    0
    Comment actions Permalink
  • Mike Schinkel

    Hi @Vanessa,

    I'm just another Podio user like you.  

    Are you wanting to program the API, or are you asking for user functionality?

    -Mike

    0
    Comment actions Permalink
  • Vanessa Duran

    Thank you, Mike! That's even better!

    I was trying to program the API. I 'think' I have it working now as I can see the tasks on the item within the app (my clients). If you have any information/documentation to point me to I'd greatly appreciate it.

    Thanks! Vanessa.

    0
    Comment actions Permalink
  • Mike Schinkel

    Hi @Vanessa,

    @Casper's answer should be what you need, I think.  I not, ask.

    -Mike

    0
    Comment actions Permalink
  • Marc Naidu

    Hi @Mike, we have the same issue. Takes are global and a "Task" App is not. 

    Use Case:

    I want to be able to auto close all podio tasks associated with an app item. 

    This can be done manually by a user updating a field in the app item or preferably via a workflow. 

    I've read the documentation and it looks quite doable to update the said tasks by first getting a list of tasks associate by the app item and then updating all to closed status. 

    No authentication issues for us because the user will have access to the said app item. 

    I woild appreciate it if you could share any tricks or code that you feel comfortable with   Thanks! Marc 

     

     

     

     

     

     

    0
    Comment actions Permalink
  • Mike Schinkel

    Hi @Marc,

    FWIW, I gave up on Podio several years ago.

    -Mike

    0
    Comment actions Permalink
  • Marc Naidu

    Sorry to hear that @Mike. 

    But thanks for the quick response and happy holidays from Sunny Singapore!

    -Marc

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk