Access commit message and username/link in automation

Hi,

Just trying out Space - I would like to notify external systems about commits. In the automation script I would like to access the commit message, and the user who made it (name/space link). Is there a way?

Also it would be nice to run automations on issue events (e.g. notify that an issue changed state etc). Any joy?

Many thanks,
Tim

0
1 comment

Tim - hi,

Right now there is no way to do that, but it will be possible as soon as SPACE-13913 Provide an ability to resolve list of commits between current and previous job executions in kotlin script is ready, so please feel free to upvote the ticket and subscribe to further changes. Then you will be able to reach out to the necessary information via the Space API method List commits matching query (https://www.jetbrains.com/help/space/projects-a.html#list_commits_matching_query) from the Kotlin script.

Currently, Space doesn't provide the opportunity to trigger jobs on issue events, so I've created a feature request for the team SPACE-15279 [Automation] Trigger automation on issue events. Could you please share with us your use case when such a trigger is needed? It will be very useful for developers to have a real-world example to take into account all the peculiarities.

Looking forward to hearing from you soon!

Margarita Kolotilova
JetBrains
http://www.jetbrains.com
The Drive to Develop

0

Please sign in to leave a comment.