It's all about the answers!

Ask a question

Workitem creation url options


2
1
Nigel Lawrence (2635) | asked Mar 28 '13, 1:56 p.m.
JAZZ DEVELOPER
edited Mar 28 '13, 1:59 p.m.
I'm trying to construct a URL that will enable me to direct users to a partially populated entry -
Something like https://MyJazzServer:9443/jazz/web/projects/MyProjectArea#action=com.ibm.team.workitem.newWorkItem&type=defect
enables me to specify the work item type.... but where can I find the other parameters that the com.ibm.team.workitem.newWorkItem allows?
In particular I'd be eager to set the filedAgainst attribute.

Note : I've seen things like https://jazz.net/library/article/782/ but nothing that helps me in the general regard

Comments
Tracy Harris commented Jul 24 '13, 11:36 a.m.

Has there been any additional work on this?
I just found this after submitting my own question to the same need.
Being able to add parameters to the newWorkItem method would be very helpful.

One answer



permanent link
Eric Jodet (6.3k5111120) | answered Apr 03 '13, 5:03 a.m.
JAZZ DEVELOPER
edited Apr 03 '13, 5:04 a.m.
 Hello Nigel,
I would:
1 - create a new default category provider 

2 - use this provider at presentation level

When using the new work item URL, filed against category should be populated with your default.

Hope it helps.
Eric.

Comments
Nigel Lawrence commented Apr 03 '13, 5:16 a.m.
JAZZ DEVELOPER

Eric, thanks for the response... but this solution implicitly assumes that I only want to issue a single URL that will get work items assigned to the default category.
I want to provide various links to different classes of user that will result in a work item being filed against different categories.
Is this currently not something I can do with the com.ibm.team.workitem.newWorkItem action?


Eric Jodet commented Apr 03 '13, 7:28 a.m.
JAZZ DEVELOPER

 Hello Nigel,

I can not see an easy way to achieve that.
I can think of custom Javascript and related URL like &cat_id=XXXX
but this would require in-house development.

Eric.

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.