Printing contacts and 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:

contacts_in_issue.png

In the following way to the report:

report_contacts.png

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:

deals_in_issue.png

And the result of printing is:

deals_report_printed.png

Video demonstration for printing deals

Was this article helpful? Yes  No
325 from 351 found this helpful