How to get custom field value on a blueprint project via API?
Hi there,
We're working on an automated integration of our business processes with Wrike. We have created blueprints which we want to launch as projects based on a value in a custom field. So for example, when a user makes a certain selection in our software it should only launch the blueprints with custom field value 'A' and in other cased it should only launch the blueprints with custom field value 'B'.
Is there a way to find that custom field value within the blueprint projects via the API?
Thanks,
Mike
mdr
Hey Greenhouse - JARVIS!
I can see that our Support team has reached out to you about this. If you need anything else, be sure to let me know.
mdr
Can we get an update on this?
I've seen SEVERAL post where support "sees" that someone contacted support but a solution is not posted for the rest of the community. Can we address this?
Hi Premise Health, thank you for reaching out! Please let me explain how we work with certain questions on the Community 🙂 Whenever we, Community team members, or our colleagues from the Support team, can reply directly without the need to ask some additional questions or, in some cases, troubleshoot, we do it. Please expect someone to reach out to you about your API question either here or via email 🙂
Please let me know if I can help you with anything else 👍
Lisa Community Team at Wrike Wrike Product Manager Become a Wrike expert with Wrike Discover
Lisa Wrike Team member Become a Wrike expert with Wrike Discover
Hi Premise Health, it is possible to query the Custom field's value on a Blueprint using the standard GET/folders call with the parameters:
Here are the sample screenshots:
cURL:
Here you will find the documentation about Blueprint API methods that support the creation of a project/folder from a Blueprint: https://developers.wrike.com/api/v4/blueprints/
Alternatively, you may use the folder ID retrieved with the GET/folders call (Screenshot A) and use the POST/copy_folder call (Screenshot B).
Screenshot A:
Screenshot B:
Please let me know if you have any further questions!
How do you get a blueprint folder's permalink?
The /folder_blueprints API does not return the permalink with the blueprint data.
Therefore, I am not able to use the above trick to return the custom field values for a blueprint folder.
The "ID" returned by the /folder_blueprints does not appear to be the correct ID to use in the permalink, therefore i believe i need to retrieve the permalink.
Right click the Blueprint in the UI and select Copy Permalink.
Hi Jessie,
I was able to find that function. However, I'm pulling a list of blueprint folders via the API, then need to take action on them based on a custom field value. It seems that from the API there is no way to programmatically get the permalink, and therefore no way to get the custom field value from a blueprint folder.
I think I just found a workaround: Use /folder_blueprints to retrieve the bpRoot folder. Then call /folders to get the subfolders including the customfield parameter. I'll give this a try.
Nope. You cant query blueprint folders as folders. Dead end. So there is no way to get a list of blueprints via API with their CustomField values (or any other value that doesn't come with the /folder_blueprint call)
https://help.wrike.com/hc/en-us/community/posts/4412626385943-Expose-API-methods-for-task-blueprints