Hi,
When a version is published, i'd like to send to my "version" google chat channel the number of the version, the release note with issues delivered and the release date.
Here is an exemple of the notification i'm searching to build:
"Version X.X.XX is available
Release date : xx/xx/xxxx
Release Note :
Issue xx : balbalblablablblbab
Issue xx : eibdzhgoudhozhzoahd
Issue xx : jzfefhfezjfef"
Thank you everyone for helping me
Alan
PS: i'm admin on Jira and google workspace and have all acces.
Hi @Alan Chêne
since Google Chat isn't an automation action at the moment, my first try would be to fire a webhook with the "Send web request" action.
Google Chat seems to provide a REST API so this shouldn't be painful at all :)
Have a good one,
Hauke
Hi @Hauke Wollentin , i tried but i have an HTML Error : 400
{ "error": { "code": 400, "message": "Invalid JSON payload received. Unexpected token.\nBonjour à toute l' \n^", "status": "INVALID_ARGUMENT" } }
My webhook is created on the google chat channel and i just copie/Past it on the webhook Url on jira.
I used custom description with no Header/Value and the HTTP method used is: POST
Here is my custom description :
Hello everyone,
The version : {{version.name}}has been delivered on {{version.releaseDate}}. Nice Job ! :tada:
here is the issues resolved in that version :
{{version.note}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I guess the Google API expects a JSON body, so you need to transform your custom description as proper JSON document.
The API docs should describe how the JSON document need to look like, which fields are required and so on.
Have a good one,
Hauke
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.