Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
TAGS

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you