Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC WEB Javascript Libraries

Hello Team,

I still find it difficult by going through the documentation given. Not sure what happens what is valid type of Params to be sent for functions

Consider the function below for util.js,

getNewWorkItemUri2: function(parms) {

              parms.typeId = parms.typeId || parms.typeName; // typeName is deprecated
                var suffix = parms.typeId ? "&type=" + parms.typeId : "";
                  if(parms.tempId) {
                        suffix = suffix +  "&ts=" + parms.tempId;
                  } else {
                    suffix = suffix +  "&ts=" + this.getUniqueId();
                  }
                  if(parms.addLinkType && parms.addLinkedItemId && parms.addLinkedProjectAreaItemId) {
                     suffix = suffix + "&addLinkedItemId=" + parms.addLinkedItemId
                                        + "&addLinkType=" + parms.addLinkType
                                        + "&addLinkIsSource=" + (parms.addLinkIsSource == true)
                                        + "&addLinkedProjectAreaItemId="
                                        + parms.addLinkedProjectAreaItemId;
                 }

               return this._basicPrefix + "newWorkItem" + suffix;
              },


Not sure what is addLinkIsSource and what is limitations

Any help please!!


0 votes


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Jul 18 '16, 5:45 a.m.

Question was seen: 1,056 times

Last updated: Jul 18 '16, 5:45 a.m.

Confirmation Cancel Confirm