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

Javascript WorkItem TAGS Attribute value

 Hello everyone and thank you in advance. 


I create Condition using Javascript and one statement does not work in it.
When I use the getValue of WI Tags attribute what is return value? Array of strings? Is that correct? How to check what the user types in that attribute? The compare statements do not work:

tagsValue === "test"   or   tagsValue.indexOf("test") > -1

Thank you so much again.

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
× 152

Question asked: Sep 17 '18, 5:06 a.m.

Question was seen: 317 times

Last updated: Sep 17 '18, 5:06 a.m.

Confirmation Cancel Confirm