Workfront(Attask)API:是否可以清除/重置任务的"commitDate"? [英] Workfront (Attask) API: Is there a way to clear/reset 'commitDate' on a task?
问题描述
几乎完全是标题,我想知道是否有一种方法可以清除/重置任务的commitDate
字段.例如,我正在尝试向API发送以下请求.我没有收到任何错误,但是当我再次查询任务时,它没有显示对commitDate
字段的任何更改.
Pretty much exactly the title, I'm wondering if there is a way to clear/reset the commitDate
field of a task. For example, I'm trying the following request to the API. I get no errors, but when I query the task again it shows no changes to the commitDate
field.
https://thecompany.my.workfront.com/attask/api/v7.0/task/1234567890?method=put&updates={"taskConstraint": "MSO", "commitDate":"","constraintDate":"2017-08-07"}&fields=commitDate,plannedCompletionDate,actualCompletionDate,constraintDate&sessionID=12345
我还尝试了该请求的所有其他变体,包括使用null
作为commitDate
值,但是它们都返回相同的结果.没错commitDate
字段保持不变.
I've also tried all other variations of this request that I could think of, including using null
as the commitDate
value, but they all return the same results. No error. No change to commitDate
field.
我唯一能想到的是,实际的 task 可能丢失了一些东西.我正在测试的任务是一个虚拟任务,所以也许我在创建它时错过了一些东西,但是它确实有一个commitDate
,所以我不确定我还会缺少什么.
The only thing I can think of is that possibly there is something the actual task is missing. The task I'm testing on is a dummy task, so maybe I missed something while creating it, but it does have a commitDate
, so I'm not sure what else I'd be missing.
推荐答案
commitDate在接受分配时设置,并且基于接受时接受用户的工作量.您可以将承诺日期更新为另一个值,但是除非任务实际完成,否则您不能有一个空的承诺日期.
commitDate is set when an assignment is accepted and is based upon the accepting user's workload at the time of acceptance. You may update the commitment date to another value but you cannot have an empty commit date unless the task is actually complete.
这篇关于Workfront(Attask)API:是否可以清除/重置任务的"commitDate"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!