https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292012-03-08T14:03:03ZRedmineRedmine - Feature #9076: Allow to prefill issue form via http url parameterhttps://www.redmine.org/issues/9076?journal_id=366462012-03-08T14:03:03ZJán Regeš
<ul></ul><p>Hi, +1 for this feature.</p>
<p>For us, it's really important - we need it for creating a "smart quick links" for our clients.</p>
<p>Thank you.</p> Redmine - Feature #9076: Allow to prefill issue form via http url parameterhttps://www.redmine.org/issues/9076?journal_id=366642012-03-08T20:09:30ZTerence Mill
<ul></ul><p>+1</p> Redmine - Feature #9076: Allow to prefill issue form via http url parameterhttps://www.redmine.org/issues/9076?journal_id=367102012-03-09T21:28:43ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul><p>Actually, it's already possible using the following syntax:<br /><a class="external" href="http://www.redmine.org/projects/redmine/issues/new?issue[tracker_id]=2&issue[category_id]=1">http://www.redmine.org/projects/redmine/issues/new?issue[tracker_id]=2&issue[category_id]=1</a></p> Redmine - Feature #9076: Allow to prefill issue form via http url parameterhttps://www.redmine.org/issues/9076?journal_id=367112012-03-09T22:06:26ZTerence Mill
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul><p>We need to prefill description and custom fields of type list, version, text and user. Can't find and example in wiki.</p> Redmine - Feature #9076: Allow to prefill issue form via http url parameterhttps://www.redmine.org/issues/9076?journal_id=367122012-03-10T10:10:24ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li></ul><p>Here is an example with prefilled description and custom field:<br /><a class="external" href="http://www.redmine.org/projects/redmine/issues/new?issue[description]=prefilled%20description&issue[custom_field_values][2]=Duplicate">http://www.redmine.org/projects/redmine/issues/new?issue[description]=prefilled%20description&issue[custom_field_values][2]=Duplicate</a></p>
<p>For user and version custom fields, you have to provide the user id or version id, eg: <code>issue[custom_field_values][5]=26</code> where 5 is the custom field id and 26 is the user/version id.</p> Redmine - Feature #9076: Allow to prefill issue form via http url parameterhttps://www.redmine.org/issues/9076?journal_id=739112016-10-07T19:11:28ZDarren Pearce
<ul></ul><p>I'm trying to use this feature so that I can supply links in an email that users can click on, thus optimising their flow for creating an issue. A URL such as this:<br /><pre>
.../issues/new?issue[tracker_id]=7&issue[subject]=Example%20Subject&issue[custom_field_values][3]=1.2.4&issue[custom_field_values][6][]=Android&issue[custom_field_values][6][]=iOS&issue[priority_id]=5
</pre><br />works fine with the syntax of <code>issue[custom_field_values][6][]</code> working to specify multiple values for a custom field (the syntax was an educated guess).</p>
<p>However, when I try to specify the assignee with <code>issue[assignee_id]</code> such as:<br /><pre>
.../issues/new?issue[tracker_id]=7&issue[subject]=Example%20Subject&issue[custom_field_values][3]=1.2.4&issue[custom_field_values][6][]=Android&issue[custom_field_values][6][]=iOS&issue[priority_id]=5&issue[assignee_id]=2
</pre><br />or (in desperation):<br /><pre>
.../issues/new?issue[tracker_id]=7&issue[subject]=Example%20Subject&issue[custom_field_values][3]=1.2.4&issue[custom_field_values][6][]=Android&issue[custom_field_values][6][]=iOS&issue[priority_id]=5&issue[user_id]=1
</pre><br />where 1 is a valid user id, it doesn't work. Am I missing something?</p>
<p>We are on a rather old version of Redmine (Redmine 2.4.2.stable) so can you advise if this was fixed in later versions or if I am doing something wrong?</p> Redmine - Feature #9076: Allow to prefill issue form via http url parameterhttps://www.redmine.org/issues/9076?journal_id=739452016-10-09T09:09:04ZJean-Philippe Langjp_lang@yahoo.fr
<ul></ul><p>Use <code>issue[assigned_to_id]</code> instead of <code>issue[assignee_id]</code>. Please don't post here in closed tickets.</p> Redmine - Feature #9076: Allow to prefill issue form via http url parameterhttps://www.redmine.org/issues/9076?journal_id=829102018-01-04T11:34:26ZGo MAEDA
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/10105">Feature #10105</a>: set fields values by new issues</i> added</li></ul>