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

This widget could not be displayed.

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 Thursday in United States

Local Atlassian Research Workshop opportunity on Sep. 28th

We're looking for participants for another workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sh...

53 views 0 0
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