I have created an App Template that we use to create a set of 3 boards in our Workspaces.
I’m trying to automate it using GraphQL in Postman.
I have two questions:
- I don’t know what I have wrong with the variables definitions that they are not working
{“v_client” : “{{env_vclient}}”,
“wp_id” : {{env_vwpid}}
}
GraphQL Code in Postman:
mutation new_board($v_client: String!,$wp_id: Int){
create_board (board_name: $v_client, board_kind: private, template_id: 2518XXXXXX, workspace_id: $wp_id) {
id
}
}
Does the API support App Templates? How can I use it with the API?
- I tried simplifying the request and use the ID of a single board of the template that I got from the URL, but it didn’t work. I get the error “The template ID given is not an account template”
GraphQL code in Postman
mutation new_board{
create_board (board_name: “Sprints”, board_kind: private, template_id: 2518XXXXXX, workspace_id: 265YYYY) {
id
}
}