Open dixudx opened 9 years ago
@dixudx Is there an update facility available?
@Feva Currently we can perform some actions on the retrieved Workitems, including get/add Comments, get/add/remove Subscribers/Children/Parent, get/upload Attachments and etc;
@dixudx It was more like the status, description/subject, duedate and other fields.
@Feva A workitem contains so many configurations. So it is not easy to be wrapped in a generic method to update the workitem. And the configurations differ on workitem types.
This is why method updateWorkitem
has been missing for a long time.
@dixudx I understand. It's not that simple for some generic solution. I haven't fully worked out what I need yet. Creating a work item with specific data may be enough but as per issue #87 I am having problems with that.
+1 for the update of Description, Title and status.
Wondered if there was any movement on this?
Wondered if there was any movement on this?
@Feva Sorry, not yet. I think @Mershl's suggestion on updating the Description
, Title
and Status
is a good choice, since these fields are common and changed/updated frequently.
@Feva @Mershl I'm kind of busy on other stuff, would you help implement this? Thanks.
I can test any code that may be created. Just as a side note I am running on Python 3.6 now from 2.7 and all appears to work fine.
Description, title, status are a start. Duedate and plannedfor are also changed a lot where I work.
How about updating added custom attributes for existing workitems? Like getting the workitem and requesting the update of a single custom attribute... Is this something already available and I just can't find it?
Is this something already available and I just can't find it?
No yet. I don't have too many bandwidth for this new feature. But you can help submit a PR to address this. @Feva @GJor @feliperuhland @Mershl
almost implement this new feature with this commit
TODO: