workfront-api

Workfront API: Human readable status for Issues and Projects


https://support.workfront.com/hc/en-us/articles/115003574147-API-Basics https://support.workfront.com/hc/en-us/categories/202718477

Querying objects (i.e.: GET /attask/api/v9.0/project/4c78821c0000d6fa8d5e52f07a1d54d0) returns a response similar to the following:

..
"status": "INP",
...

How do you get human readable statuses form these responses? Do you hard-code all possible values, or, can it be achieved using queries?

i.e.: "INP" > "In Progress"


Solution

  • I created a dictionary and translating the statuses while reading the short version (INP > In Progress)