Project

General

Profile

create a new issue via html form with user email in mind as author

Added by Terence Mill over 12 years ago

We wanna give our software product projects easy integration with redmine.
A static html site (with js if needed), which can be integrated on their web apps shall be given as hand-out to the projects teams. So that a user can just fill out the form and the products web-app will send http requests for issue creation using redmine rest-api.
We use ldap for realm in redmine and our users are auto created on login after authentification.

The api seems to need technical ids for ticket creation.
The web app just don't know the user ids per default, only users email or <login> can be known. Ids are created by redmine and are internally known only!

Is tehre a way to set author of ticket corresponding to email or login name?

I only found examples for internal id, e.g

 <author name="John Smith" id="10106"/>

Is name optional ? The login is unique so, why need more that just login or email with is unique too?

Same for tracker, category, etc. Normally no one knows the technical internal id, but the name which in many cases is unique too.

Tx for explanation and help.