Hi, I am new to working with Jira Automation, trying to figure out how to correctly send a Webhook request to Bitrix CRM, for example when the Jira task gets updated. The idea is to send the Jira issue fields information (such as Summary, Description, Priority, Dates and Comments) in the request. I believe those are somehow to be passed as variables in the request.
As an example I am using the following URL for POST request where the description in CRM item is updated (tested on Postman and it worked fine):
https://“bitrix domain”/rest/“userid”/“key”/crm.item.update.json?entityTypeId=160&id=166&fields[ufCrm14_1699893976436]=Test update from Postman
Is there a way I can attach the Jira task fields information via variables to the bitrix UserFields (ufCrm)?
Have you try using send web request in Jira Automation with smart value? sounds similar use case with the following article.
Reference
Yes, this is a good use case for Jira Automation’s Send web request action. The key is to build the request body or URL using Jira smart values rather than hard-coding the CRM field values. The community response points in the same direction, specifically using smart values to pass issue data into the external request.
For example, instead of sending a fixed description, you can map values such as the issue summary, description, priority, dates, comments, and issue key into the CRM payload. I’d recommend using a JSON request body where possible rather than putting everything into query parameters. It makes the mapping easier to maintain as the integration grows.
I’d also include a stable Jira issue key or external ID in the CRM record. That gives you a reliable way to update the same CRM record when the Jira issue changes again, rather than accidentally creating duplicates.