Displaying an Issue subject in Wiki, instead of the issue number
Added by Stéphane Briand SeaSideTech over 13 years ago
I am creating wiki pages in my project, that refer to some issues.
Currently, it is possible to make reference to issues, with links. But is it possible (or is it planed) to show the subject of issues directly in the wiki.
For example :
Let's imagine that the issue #123 exists in my redmine database. Subject would be : "Found a bug in the software"
- currently : I can show #123 in my wiki page.
- my wish : with a syntax like #123:subject, my wiki page would show Found a bug in the software
Replies (5)
RE: Displaying an Issue subject in Wiki, instead of the issue number - Added by Cassiano Monteiro over 12 years ago
I was looking for something like that too. Is there a feature request for this? I found the issue #5571, is that it?
RE: Displaying an Issue subject in Wiki, instead of the issue number (Closed) - Added by Stéphane Briand SeaSideTech about 11 years ago
I have created a plugin which does it perfectly :
RE: Displaying an Issue subject in Wiki, instead of the issue number - Added by Ivan Cenov about 11 years ago
Nice plugin; I would like to propose an improvement:
{{issue_fields(issue,[options],[arguments])}}A string to be valid argument. Example:
{{issue_fields(1,-C,-p,-i,"Issue ", subject,status,"created by ",author)}}Concerning this, strings should/may not be part ot the hyperlinks, some fields, like 'author' may point to the author's profile instead of the issue etc.
Found conflict with redmine_issue_checklist plugin - Added by Ivan Cenov about 11 years ago
wiki_issue_fields does not play well with redmine_issue_checklist plugin. Here is the log (internal error):
Connecting to database specified by database.yml Starting WikiNG Plugin for Redmine Creating scope :system. Overwriting existing method Enumeration.system. Creating scope :sorted. Overwriting existing method Group.sorted. Creating scope :sorted. Overwriting existing method User.sorted. Started GET "/issues/2076" for 192.168.142.1 at 2013-09-24 20:27:34 +0300 Processing by IssuesController#show as HTML Parameters: {"id"=>"2076"} Current user: imc (id=3) Rendered issues/_action_menu.html.erb (390.0ms) Rendered plugins/redmine_code_review/app/views/code_review/_issues_show_details_bottom.html.erb (0.0ms) Rendered plugins/redmine_issue_checklist/app/views/issues/_checklist.html.erb (31.2ms) Rendered issues/show.html.erb within layouts/base (733.2ms) Completed 500 Internal Server Error in 1310ms ActionView::Template::Error (No expansion found for :issue_checklist): 20: <% else %> 21: <%= javascript_include_tag 'issue_checklist.prototype.js', :plugin => 'redmine_issue_checklist' %> 22: <% end %> 23: <%= stylesheet_link_tag :issue_checklist, :plugin => 'redmine_issue_checklist' %> 24: <% end %> lib/redmine/hook.rb:111:in `block in render_on' lib/redmine/hook.rb:61:in `block (2 levels) in call_hook' lib/redmine/hook.rb:61:in `each' lib/redmine/hook.rb:61:in `block in call_hook' lib/redmine/hook.rb:58:in `tap' lib/redmine/hook.rb:58:in `call_hook' lib/redmine/hook.rb:158:in `call_hook' app/views/issues/show.html.erb:88:in `_app_views_issues_show_html_erb___5227599_56385864' app/controllers/issues_controller.rb:123:in `block (2 levels) in show' app/controllers/issues_controller.rb:120:in `show'This occurs when added redmine_issue_checklist plugin. After removing it, Redmine works well.
Redmine works well with redmine_issue_checklist when wiki_issue_fields is removed.
RE: Found conflict with redmine_issue_checklist plugin (Closed) - Added by Stéphane Briand SeaSideTech about 11 years ago
- Thank you for your suggestion about API improvement. I will take it into account in my roadmap.
- I found and corrected the bug. Release 0.4.1 is available. Let me know if it works fine in your environment.
For support purposes of this plugin, I suggest to continue the discussion in the dedicated ticket in the forum : Plugin Wiki Issue Fields : feedback, suggestion, reporting problems