CORE-2243 fixed create task api call