The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I update companie filed with JSON?

Nikolai Filonchik
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 31, 2017

Hi, everybody!

I'm using Atlas CRM and Project Automation for JIRA and try to set up a company to a newly created with Project Automation for JIRA issue throught More options->Additional fields with

"fields": {
        "company": "{{issue.company}}"
    }

 

but that just doesn't work

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Gert-Jan van de Streek
Contributor
July 31, 2017

Atlas CRM currently doesn't officially support setting the company entity property via automation. It should however just work. You have to set the company id and name together:

{
"id": 17597001901513,
"name": "Atlas CRM"
}

The 'Entity Properties' add-on from Atlassian Labs is very helpful in debugging.

Note that when linking multiple contacts/companies, this is a list:

{
"id": [
17592187005661,
17592187009103,
17592187005651,
17592187005666
],
"name": [
"Mitchel Kuijpers",
"Mats Stijlaart",
"Gert-Jan van de Streek [Avisi]",
"Maarten Testuser"
]
}

Also, note that the fields are named relations_contact and relations_company. The fields are aliased contact and company.

TAGS
AUG Leaders

Atlassian Community Events