dixudx / rtcclient

RTCClient for Rational Team Concert
https://readthedocs.org/projects/rtcclient/
Apache License 2.0
37 stars 44 forks source link

add method to update workitem #7

Open dixudx opened 9 years ago

dixudx commented 9 years ago

almost implement this new feature with this commit

TODO:

Feva commented 7 years ago

@dixudx Is there an update facility available?

dixudx commented 7 years ago

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

Feva commented 7 years ago

@dixudx It was more like the status, description/subject, duedate and other fields.

dixudx commented 7 years ago

@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.

Feva commented 7 years ago

@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.

Mershl commented 7 years ago

+1 for the update of Description, Title and status.

Feva commented 6 years ago

Wondered if there was any movement on this?

dixudx commented 6 years ago

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.

Feva commented 6 years ago

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.

GJor commented 5 years ago

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?

dixudx commented 5 years ago

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