Script not working after Samba Update

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;
}

To use gql you need to buy a gql license. Please update to the latest version 5.5.6 as well.

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.

1 Like

Hey Chris that bug is solved in our latest 5.5.7 beta we will release final 5.5.8 very soon, next few days. 5.5.8 is the next release after 5.5.6

1 Like

Ok thank you for your information…