Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

Create new issue with template from URL parameters #216

Open
sebastianelsner opened this issue Jan 23, 2019 · 3 comments
Open

Create new issue with template from URL parameters #216

sebastianelsner opened this issue Jan 23, 2019 · 3 comments

Comments

@sebastianelsner
Copy link

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?

@akiko-pusu akiko-pusu self-assigned this Jan 24, 2019
@akiko-pusu
Copy link
Owner

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.

@sebastianelsner
Copy link
Author

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?

@akiko-pusu
Copy link
Owner

Ok, I see the this use case.

@akiko-pusu akiko-pusu added this to the 0.3.1 milestone Feb 9, 2019
@akiko-pusu akiko-pusu modified the milestones: 0.3.1, 0.3.2 Mar 14, 2019
@akiko-pusu akiko-pusu modified the milestones: 0.3.2, 0.3.5 Jun 24, 2019
@akiko-pusu akiko-pusu removed this from the 0.3.5 milestone Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants