- Printing contacts
- Video demonstration for printing contacts
- Printing deals
- Video demonstration for printing deals
Printing contacts
The following guide will show you how to print the Contacts (from the CRM plugin) using the Reporter plugin.
Note: Please note that for this feature, you have to install the Contacts (CRM) plugin first.
Since CRM version 4.3.0 issue-contact and issue-deal relation model moved to Custom fields. More information about this feature could be checked in this article.
Let's take a look at the following code example:
{% assign issue_contacts = issue | custom_field: "Contacts" | join: ', ' %} <p> <b>Contacts: </b><span>{{ issue_contacts }}</span> </p>
It will print these contacts from the issue:
In the following way to the report:
Video demonstration for printing contacts
Printing deals
In a similar way, you can print, also the deals of the CRM plugin and Redmine issue.
Code to be used as an example:
{% assign issue_deals = issue | custom_field: "Deals" | join: ', ' %} <p> <b>Deals: </b><span>{{ issue_deals }}</span> </p>
So, we have this issue with deals in it:
And the result of printing is: