Comments (4)
Yes. Currently the library only support get the members.
@durera Good suggestion. I've not investigated this. But I think it is not difficult to implement. New method addMember()
, deleteMember()
and etc will be added.
Also you are welcome to submit your PR.
from rtcclient.
Looking at the oslc APIs I'm not sure how this can be done ... to add a member you need to provide a user ID and one or more role IDs for that user to have in the project/team area, but the API being used (/oslc/projectareas/$ID/rtc_cm:members) only seems to handle the users and not cover the roles at all.
Have you have any thoughts on how to make this work/if it's even possible? I'm happy to help out with the coding, but having taken a look at this this evening, I'm not really sure how to make this work with the APIs available.
from rtcclient.
@durera Sorry for the late reply. You are right. To add a member in a project area, a user id
and several role ids
are needed. And this is exactly what the web ui does.
After investigating oslc apis, I think we have to split this action into two parts:
- just add a member using
user id
; - do role assignments to that user;
from rtcclient.
@durera If you navigate to the History
panel of a specific project area, you will see the action to add a member is split into two parts as well.
Members
added:
usera
-----------------
Role assignments
usera
added:
Developer
Project Manager
Team Lead
Stakeholder
from rtcclient.
Related Issues (20)
- rtcclient ownedBy returns User ID and not email address HOT 4
- Support for asyncio HOT 1
- workItem.getChildren() taking forever and printing 'unable to handle' error messages HOT 10
- RTC Query taking forever HOT 17
- runSavedQueryByUrl only returns 34 results HOT 10
- getAttachments only works for 2+ attachments HOT 10
- resp.content doesn't have real xml format data HOT 5
- RTC Work Item Attachment Download - new function request question HOT 1
- Can't find projectarea HOT 14
- Incompatible with Jazz 7.0.2 HOT 16
- Can't get enumeration list selected value HOT 9
- xmltodict starts using dict instead of OrderedDict HOT 3
- Add attachment fail because of KeyError : 'files' HOT 5
- url not found: jazz/authenticated HOT 7
- Suggestion: package version numbering HOT 6
- workitem: builtin attributes are obtained as link HOT 5
- why long attributes are skipped ? HOT 1
- why long attributes are skipped ? HOT 1
- why long attributes are skipped ? HOT 1
- How can you add additional unsupported attributes beyond RTC Clients built-in attributes HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtcclient.