So after my problem of GitLab connection using the api,
I have another problem :
I configured Mattermost to receive incoming data using incoming webhooks from a website, that works great , nd then i want to send the data to another website using Outgoing Webhooks.
So i proggramed it to react on the world “!jenkins”.
It works great when it is a user that type this world , but don’t work when the message come from incoming webhooks.
Can you help me? Thanks
Here is the data of posts :
{
"order":
[
"8f6i97we93dadkgixciz9dqdoo",
"iy1fqejcyjr67jwxx1uo54geho",
"851oawss7bng3jhmr6rxxyyhnc"
],
"posts":
{
"851oawss7bng3jhmr6rxxyyhnc":
{
"id": "851oawss7bng3jhmr6rxxyyhnc",
"create_at": 1501751466560,
"update_at": 1501751466560,
"edit_at": 0,
"delete_at": 0,
"is_pinned": false,
"user_id": "brur55b9rin6pykjaycaosbwbh",
"channel_id": "pzxe1do3j3dfper67sq4hwijuy",
"root_id": "",
"parent_id": "",
"original_id": "",
"message": "!jenkins - Success",
"type": "",
"props":
{
"from_webhook": "true",
"override_username": "jenkins"
},
"hashtags": "",
"pending_post_id": ""
},
"8f6i97we93dadkgixciz9dqdoo":
{
"id": "8f6i97we93dadkgixciz9dqdoo",
"create_at": 1501751610379,
"update_at": 1501751610379,
"edit_at": 0,
"delete_at": 0,
"is_pinned": false,
"user_id": "brur55b9rin6pykjaycaosbwbh",
"channel_id": "pzxe1do3j3dfper67sq4hwijuy",
"root_id": "",
"parent_id": "",
"original_id": "",
"message": "!jenkins ",
"type": "",
"props":
{
"from_webhook": "true",
"override_username": "webhook"
},
"hashtags": "",
"pending_post_id": ""
},
"iy1fqejcyjr67jwxx1uo54geho":
{
"id": "iy1fqejcyjr67jwxx1uo54geho",
"create_at": 1501751487259,
"update_at": 1501751487259,
"edit_at": 0,
"delete_at": 0,
"is_pinned": false,
"user_id": "yddrcj7f6bnn9m1cn55qh1jwxo",
"channel_id": "pzxe1do3j3dfper67sq4hwijuy",
"root_id": "",
"parent_id": "",
"original_id": "",
"message": "!jenkins z",
"type": "",
"props":
{
},
"hashtags": "",
"pending_post_id": ""
}
}
}