How can I update companie filed with JSON?

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

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.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted 15 hours ago in United States

Thanksgiving Tuesday

Good morning All, First of all, Happy early Thanksgiving from the NOVA AUG Leaders! I am anticipating no one will be looking at the group on Thanksgiving Day 😊 Today's topic will be different th...

26 views 4 2
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you