You are viewing the old version of the documentation. See the latest version here: CRM for Jira Server Home

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

What for need CRM API

It need that external applications can programmatically add and receive data to CRM. To work with the API, you must configure the security key (password) and the rights of the user that will be connected.

Setting access to API

For access to API you need to specify the API Key (password) in the Administration/Plugins/CRM/Access:

Access rights to CRM objects

To receive data via API, you can use different users with different access rights. Access rights to the objects defined in the Administration/Plugins/CRM/Access:

Supported methods

 

Method's nameUser rightDescription
getcompanybynameCRM Main MenuReturn company by name or ID
getcontactbynameCRM Main MenuReturn contact by name or ID
getcompaniesCRM Main MenuReturn all companies
getcontactsCRM Main MenuReturn all contacts
sync CRM Main MenuStart synchronization of JIRA users
setcrmpropertiesCRM Main MenuSet custom field type "Crm Property" in issue
addcompanyAdd companiesAdd company
setcontactAdd contactsSet company for contacts
adddictionaryvalueAdd the values to dictionariesAdd new value to a custom dictionary
removedictionaryvalueRemove the values from dictionariesRemove value from a custom dictionary
getContactEmail Return contact's email from ContactsCustomField or ContactSelectCF

 

Calls examples

...