It's all about the answers!

Ask a question

@link_mentions type link is not added in Work Item Command Line tool 5.2 in ELM 6061


Ian Wark (79713553) | asked May 28 '20, 7:05 a.m.
Hi Ralph

I am enjoying using your Work Item Command Line tool. Using 5.2 with ELM 6.0.6.1 (and same for Plain Java API).

I am having trouble with one thing, however.

When I run a command similar to the below, it makes the Web UI dirty for the work item, indicating some change has happened, but I don't see any link created. There is no error.
wcl -update repository="https://clm.testenvironment.com:9443/ccm" user=xxxx password=yyyy id=129 @link_mentions:add=85

If I change that command to a different link type:

wcl -update repository="https://clm.testenvironment.com:9443/ccm" user=xxxx password=yyyy id=129 @link_depends_on:add=85

It works as expected.

Using the help here:

Are there any conditions on the @link_mentions working correctly? Might there be something wrong?

Comments
Ian Wark commented May 29 '20, 2:59 a.m.

I am able to add a mentions type link using WCL by adding a comment in Discussion which uses a keyword such as "defect 123", but I was hoping to not add the comment.

Accepted answer


permanent link
Ralph Schoon (63.5k33646) | answered May 29 '20, 2:04 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Please create an issue in Github. I will try to have a look when I am back and have time. Earliest Tuesday next week.

Ian Wark selected this answer as the correct answer

Comments
Ralph Schoon commented Jun 02 '20, 3:30 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

As explained in https://github.com/jazz-community/work-item-command-line/issues/29 the server does not accept creating a mentions link. The link is indirectly created when work item comments and descriptions are created or modified. The WCL code actually tries to save the link, but the server code ignores it.

Your answer


Register or 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.