Project

General

Profile

Liens html vers la page Nouvelle Demande, avec des paramètres

Added by Stéphane Briand SeaSideTech over 13 years ago

Bonjour à tous,

Savez-vous si il est possible d'ouvrir la page Nouvelle Demande avec des paramètres?
Mon besoin est tout simple, je souhaite créer 2 liens depuis une application, l'un ouvrant la page Nouvelle Demande pour entrer une demande d'évolution, et l'autre pour signaler un bug.
Donc, ce qui serait pratique, ce serait de pouvoir pré-remplir certains champs, comme le champ Tracker par exemple.

Je pensais à un mécanisme du genre :

"http://www.redmine.org/projects/redmine/issues/new?tracker=Defect"
"http://www.redmine.org/projects/redmine/issues/new?tracker=Feature"


Replies (2)

RE: Liens html vers la page Nouvelle Demande, avec des paramètres - Added by Holger Just over 13 years ago

You can do that. But you need to use the id of the tracker as it is in the database, not the name of the tracker. Something like

http://www.redmine.org/projects/redmine/issues/new?tracker_id=3

[Closed] Liens html vers la page Nouvelle Demande, avec des paramètres - Added by Stéphane Briand SeaSideTech over 13 years ago

Great, this is exactly what I need.
Thanks for your answer.

    (1-2/2)