Hi,
We found that it is impossible to map the organization field with Jira customer's company field.
Therefore, we've been trying to update a custom ticket field (String) with the Client's Org. field.
Following the instructions on here (Pulling custom Org fields into ticket) here is what we did:
- URL: https://<your domain>/api/v2/tickets/{{5555}}.json
- Method: put
- Comment type: JSON
- Add authentication
Test Target > Json
{"ticket":
{"custom_fields":
[{"id":360015214480,
"value":"{{ticket.organization.name}}"}]
}}
Results: OK, but the ticket's field id=360015214480 value for ticket 555 becomes "ticket.organization.name" (as text) rather than the information of the ticket's organization name (for example, Microsoft).
Changing the Extension URL back to
- https://<your domain>/api/v2/tickets/{{ticket.id}}.json
and use the Json as a trigger that calls for this extension, we can see that the extension is successfully running, but the ticket value is not empty.
Any idea? Any help? Any easy way to get the organization name?
Thanks.

