Fill in Work Item without Template!?
Greetings,
Is there a way to use a URL parameter, or a cookie or whatever that will open a work item with some fields filled in?
We'd like to simplify the creation of a work item for a project where the users can submit change requests. We want to have a link on a dashboard that shows a long description of "click here to submit an enhancement request for x, y, z". When the link is clicked, we want a work item to appear with the correct 'Filed Against' selected.
We know about Templates, and we know how to make a URL link to the work item "Create from template" wizard... but the user will be faced with which template to choose. We'd rather not have to say "to create an enhancement request for x, y, z, click the link below and then select "X, Y, Z, Template". Maybe I'm seeking something that is too elegant...
One thought I had is... is there a way to get a URL parameter or cookie in a script-based calculated values?!? We could potentially set that up.
|
2 answers
Ralph Schoon (63.3k●3●36●46)
| answered Oct 17 '18, 2:41 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER For all I know this could be done using JavaScript and the OSLC CM API. You could, for example, create an open social gadget and that could display a button which allows to create a work item (using the creation factory for the work item type) and fills out the values as desired.
Start here:
Comments
Dave Evans
commented Oct 17 '18, 12:57 p.m.
Hmmmm.... we don't want to save a new work item, we just want a new (unsaved) work item to appear with pre-populated fields.
Well if Ralph doesn't know how to do it, then who would? I decided to submit an enhancement for this:
Let me know if you think of anything else. Thanks!
|
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.