It's all about the answers!

Ask a question

Is there a way to customize the URL parameters?


HIROAKI JOSAKO (37118) | asked Feb 12 '18, 8:00 p.m.
edited Feb 13 '18, 2:47 a.m. by Ralph Schoon (60.5k33643)

Hi Specialists

When creating a work item I want to create a specified work item with a link added

https://jazzserver/ccm/web/ ** action=com.ibm.team.workitem.newWorkItem&type=request&*
^^^
add linkparameter




Comments
Donald Nong commented Feb 12 '18, 10:00 p.m.

It's quite difficult to understand your question. Are you saying you want to pre-populate a link when creating a new work item?


HIROAKI JOSAKO commented Feb 12 '18, 11:04 p.m.

> It's quite difficult to understand your question. Are you saying you want to pre-populate a link when creating a new work item?
Yes,it is

Normally, we will add an operation from the Link tab, but many users forget this operation.

Additionally
When creating a new Workitem from the ”link menu" of the Workitem, there was a problem of mistaking "type select".


We want to reduce that we can not trace work items due to these human errors.


One answer



permanent link
Ralph Schoon (60.5k33643) | answered Feb 13 '18, 2:46 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

There are various options to do this.

You can try to create a work item template that creates the work item and the linked work item if used. Check the documentation for work item templates.
You can create operational behavior a precondition or a follow up action that checks if the link exists and prevents the save unless there is a linked item or creates the linked work item on save. See https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/ for the available APIS and what they allow to do.


Comments
HIROAKI JOSAKO commented Feb 19 '18, 8:21 p.m.

Hi Ralph
Thanks comment!

A work item template is effective for creating a new (parent work item).
However, creating or adding link work items to "created work items"
I can not use it in such situations.
We do not want to confirm link omission.
In the course of updating work items, we want to build an editor presentation that encourages easy creation of linked work items.

The "add link button" on the link tab is often forgotten to change the type set by default.
It is an improvement and a worry for those who do not know RTC well.

Your answer


Register or to post your answer.