Post

2 followers Follow
0
Avatar

API Help as unable to update a field that is completed

Hi

Hope you are well!! :-)

I have a customer that is updating a field in Clarizen via API from their accounting system in which they are having issues updating the value when the Task is completed.

See their comments below:
--------------------------------------------------------------------------
1. We are trying to write data from our accounting software into Clarizen at a task level. Often, these tasks are marked completed and it doesn’t look like we can write to a completed task. Is this a system level limitation or is there a setting I can use for just these fields? This is on our critical path.
--------------------------------------------------------------------------

Field is "Actual Spent" on Task level which has this enabled:
Read Only This field can be updated only through the API and Business Rules [?]

As a test, I created a quick custom action to test if i can update the field when it's completed and I can.

What do we need to do for the API to work when the Task is completed?

Cheers,
Dan

Daniel Bisson-Routhier Answered

Please sign in to leave a comment.

6 comments

0
Avatar

Any update on this please? Customer is waiting for feedback on how to proceed.

Daniel Bisson-Routhier 0 votes
Comment actions Permalink
0
Avatar

You cannot update a Clarizen Work item that is Complete, even when using the API.  The Work Item would have to be first marked as Active or Draft, then updated, then marked Complete again.

Josh Santos 0 votes
Comment actions Permalink
0
Avatar

Weirdly a custom action can update a work item that is completed. How come? 

Daniel Bisson-Routhier 0 votes
Comment actions Permalink
0
Avatar

Custom Actions would behave the same way, but it actually depends on the field that your are trying to update. Were you able to update Actual Spent on closed work items with a Custom Action?

Josh Santos 0 votes
Comment actions Permalink
0
Avatar

Yes i was able to update Actual Spent with a Custom Action when workitem was closed

Daniel Bisson-Routhier 0 votes
Comment actions Permalink
0
Avatar

Hmm, okay I'm stumped. If you open a ticket we can do an investigation. If you can update via custom action the API should work as well for that use case.

Josh Santos 0 votes
Comment actions Permalink