[closed] How to add multiple users name in contributor type attribute using RTC server side api
The question has been closed for the following reason: "Duplicate Question" by rschoon Nov 18 '21, 2:21 a.m.
2 answers
I suggest looking at https://jazz.net/wiki/bin/view/Main/DraftTeamProcessRestApi.
That's the documentation for the REST APIs for project areas and team areas.
As of my interpretation of your question, you should consider reading this post: https://rsjazz.wordpress.com/2013/01/02/working-with-work-item-attributes/
Comments
Hi Ralph, I want to show users into the contributor dropdown using server side api
Hi Ralph, I wrote script to push users name into contributor attribute, but it is not working, please suggest, how to push users into attribute
(function() {
dojo.declare("com.example.ValueSetProvider11", null, {
getValueSet: function(attributeId, workItem, configuration) {
var result= [];
result.push("_SsBF4DZuEeypp4-L1XAmrg");
result.push("_hKXl0DZuEeypp4-L1XAmrg");
return result;
}
});
})();
This is not any server API, this is a JavaScript based value set provider.
1 vote
yes Ralph you are right I was trying with dojo, but above scenario is only possible with server/rest APIs only ? please give me confirmation, based on that I will move further
The description of what you want to actually do, is not understandable. It is unclear if you want to provide a value set to set a contributor attribute or want to set a contributorList attribute or what you actually want to achieve. I am not going to continue to spend time helping with APIs and their usage when it takes longer to get the use case described by asking 20 follow up questions, because the original question is one minimal sentence with little to no valuable information.
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Nov 13 '21, 5:23 a.m.Please tag the question with an appropriate product tag and a version for good measures. Also provide more details about what this is all about and what API you are currently using.