redmine_issue_templates icon indicating copy to clipboard operation
redmine_issue_templates copied to clipboard

Create new issue with template from URL parameters

Open sebastianelsner opened this issue 5 years ago • 3 comments

I would like to use GET parameters to preset the template on a new issue's page, like:

.../issues/new?issue[tracker_id]=7&issue[template_id]=2

A similar issue was filed a while ago for redmine itself: Refer to http://www.redmine.org/issues/9076

Is this already possible and I am just not able to find the docs/the right parameters by trying different ones?

sebastianelsner avatar Jan 23 '19 15:01 sebastianelsner

Hi @sebastianelsner! Thanks for your question.

Is this already possible

There is no feature like this. If this feature implemented, which is the best way ?

  1. Default template for the tracker is applied even though template id is specified.
  2. Specified template is applied even though default template is assigned for the tracker.

akiko-pusu avatar Jan 24 '19 14:01 akiko-pusu

If the tracker_id is given only, use the default template. If the tracker_id AND the the template_id is given, use the template_id as override to the default. Does this make sense?

sebastianelsner avatar Jan 24 '19 16:01 sebastianelsner

Ok, I see the this use case.

akiko-pusu avatar Jan 28 '19 10:01 akiko-pusu