Community

Welcome 🖖

Hi there! 🙂 Want to become a black belt Wrike Ninja? Here's how to earn a Wrike badge

Welcome 🖖 Have you checked out this week's Release Notes yet?

Hey! 👋 Curious about something? Visit How To to search and ask the Community for answers.

Welcome! 👋 Figured out a good tip or trick? Share it in Best Practices.

Want to connect your existing software to Wrike? Learn and ask how in the API section.

What can we help you with?

e.g. Gantt chart, Creating tasks, Sharing folders...

GET Tasks in Python

2 comments

  • Spot On! 👍 Innovative Approach 💡 Stellar Advice 💪
    Avatar
    Ahmed Sewify

    Hi Steve, 

    I noticed you have extra quotes around the comma between subTasks and fields. Also, I'm not sure what the %22 is for, but I think something like this should work. 

    querystring = {
    'fields': '["subTaskIds","metadata","customFields","responsibleIds"]',
    'descendants': 'true',
    'subTasks': 'true',
    }
    Is this helpful? 0
    Comment actions Permalink
  • Spot On! 👍 Innovative Approach 💡 Stellar Advice 💪
    Avatar
    Silas Meriam

    In API v4, the input scheme can be done like this. Here I am using title or permalink to search for a specific ticket, but it can be expanded as needed. The relevant part is that fields cannot be inputed as Ahmed suggested, rather it has to be a string (in python) as shown in my params variable. Params is equivalent to querystring in the questions above. 

    Is this helpful? 0
    Comment actions Permalink

Please sign in to leave a comment.

Folllowing List for Post: GET Tasks in Python
[this list is visible for admins and agents only]

Community

Welcome 🖖

Hi there! 🙂 Want to become a black belt Wrike Ninja? Here's how to earn a Wrike badge

Welcome 🖖 Have you checked out this week's Release Notes yet?

Hey! 👋 Curious about something? Visit How To to search and ask the Community for answers.

Welcome! 👋 Figured out a good tip or trick? Share it in Best Practices.

Want to connect your existing software to Wrike? Learn and ask how in the API section.