It's all about the answers!

Ask a question

Accessing child workItem attribute in dojo acript in attribute customization


harshal Wable (1713) | asked Jan 04 '16, 4:36 a.m.
edited Jan 04 '16, 5:13 a.m. by Ralph Schoon (58.2k23642)
I wanted to access the child work Item attribute in attribute customization and depending upon its value , I need to set the current WI attribute value. How we can do this using dojo script ? Or is there any other way this can be achieved.

Accepted answer


permanent link
Ralph Schoon (58.2k23642) | answered Jan 04 '16, 5:13 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Jan 04 '16, 5:14 a.m.
JavaScript attribute customization does
  1. Not allow to access the links
  2. Not allow to access attributes in other work items than the one providing the context the script runs.

I think this has been answered several times already here and it is also very obvious from the description in https://jazz.net/wiki/bin/view/Main/AttributeCustomization that you can't access the links and hence not attribute in a remote work item.

Possible approaches are

  1. Java based attribute customization
  2. Follow up actions / participants
harshal Wable selected this answer as the correct answer

Comments
harshal Wable commented Jan 04 '16, 5:42 a.m. | edited Jan 04 '16, 5:53 a.m.

ok Thanks Ralph.

Could you give me some references for Java Based attribute customization ?


Ralph Schoon commented Jan 04 '16, 5:53 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Your answer


Register or to post your answer.