Workitem creation url options
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
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
One answer
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
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?
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.
Comments
Tracy Harris
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.