stayhomer.png

Treat without the trick!

Be brave and face your Redmine fears Horribly awesome discounts wait for you!

Halloween special offer has begun!

Related Issues

In this guide, we are going to teach you how to print the related issues in Redmine via our Reporter plugin.

Our plugin syntax allows to request relations_from and relations_to. Please check the below code that could be useful for you.


{% assign relations_to = issue.relations_to %}
{% assign relations_from = issue.relations_from %}

{% for relation in relations_to %}
  <p>relation issue_id:{{relation.issue_from.id}}</p>
  <p>relation issue subject:{{relation.issue_from.subject}}</p> 
{% endfor %}

{% for relation in relations_from %}
  <p>relation issue_id:{{relation.issue_to.id}}</p>
  <p>relation issue subject:{{relation.issue_to.subject}}</p> 
{% endfor %}
<hr>

So, let's take a look at what this example would look like in Redmine.

report_related_issues_source_code.png

We got these related issues in an issue.

related_issues_in_issue.png

And the printed report would look like this.

printed_report.png

Video demonstration

Was this article helpful? Yes  No
1714 from 1796 found this helpful