Jump to content

Protocol URL to open Specific Code Review in GUI


Recommended Posts

Hi, We're using the Code Review feature in Plastic and have been looking to automate/improve our workflow a bit.

One step of the workflow is to post about the new codereview in a Slack Channel, however we then have to go and search out the specific review. This isn't all that hard but it's a little tedious.

I have been toying around with WebHooks now that cloud properly supports them and was wondering if PlasticSCM has support for protocol URL's, my idea being to take the output of the after-mkreview trigger webhook and construct a link to open that review in the GUI, that can be posted in the Slack message. 

 

It's not the end of the world if it's not supported but it could be incredibly useful.

 

 

Link to post
Share on other sites
6 hours ago, calbzam said:

Hi,

Regarding the plasticlinks feature: 

https://www.plasticscm.com/download/releasenotes/9.0.16.4995

We are about to release support also for code reviews. It should be available in just a few days/weeks :)

Regards,

Carlos.

Oh that’s fantastic thank you!!

Will these be accessible from the Code Review Webhook, or at least constructible from the data provided by the webhook?

Link to post
Share on other sites
Just now, calbzam said:

Hi,

This is not related to the Plastic triggers. It's a feature that allows to open code review via a link.

Regards,

Carlos.

No I understand the difference, but was wondering how those links will be constructed, and whether either the link or the info to create the link will be available through the Code Review Created Webhook on cloud so that we can use some automation features to automatically display the link in our slack and jira workflows?

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...