Hello i have a script that worked fine befor i did an update to 5.5.0
can someone help me with that?
function addTask(taskType,content,userName){
gql.Exec('mutation m{addTask(task:{taskType:"'+taskType+'",content:"'+content+'",userName:"'+userName+'"}){id}}');
}
function getCount(taskType,ticketId){
var result = gql.Exec('{items:getTasks(taskType:"'+taskType+'",isCompleted:false,customFields:{name:"Ticket",value:"'+ticketId+'"}){id}}');
return JSON.parse(result).data.items.length;
}
Not to be negative Nancy or anything but don’t count on anything getTask related to work after 5.3.6. I’ve been barking up that tree with support for just under a year and have gotten nowhere. Don’t pay for GQL access until that is fixed. My $99 investment has gotten me nowhere. The latest I’ve heard was that it should be updated on the next release, but that has come and gone. Here’s to hoping.