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 (79713551) | 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 (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="" user=xxxx password=yyyy id=129 @link_mentions:add=85

If I change that command to a different link type:

wcl -update repository="" 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?

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.2k33646) | answered May 29 '20, 2:04 p.m.

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

Ralph Schoon commented Jun 02 '20, 3:30 a.m.

As explained in 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.