Gitlab link update by api zammad

Good afternoon, I’m trying to write a script that will automatically send an application to gitlab, and then take a link from json for integration with zamamd. I’ve been exhausted trying to figure out how to make a PUT request to update a row containing a link to an issue in Gitlab. Thanks to the get query, I found out that the field I need is preference, but it has nested fields.

url = ‘-----’
payload = {
“preferences”: {
“gitlab”: {
“issue_links”: [
“link gitlab”
headers = {
‘Authorization’: ‘------’,
send_ticket_from_gitlab = requests.request(“PUT”, url, headers=headers, data=payload)

example of my python code

I have tested a PUT request with functions that do not contain a nested path and they work fine. However, I don’t understand at all how to send a request for a parameter that also contains internal parameters “preferences”:{“gitlab”:{“issue_links”:["link "]}}

Problem solved.Question can be closed