This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public with sharing class customApprovalsController { | |
| @AuraEnabled | |
| public static List<wrapperClass> getApprovals(String theType, String theCommentFilter){ | |
| List<wrapperclass> theApprovals = getPendingList(theType, theCommentFilter); | |
| return theApprovals; | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * @description : this is a class that will be setup in a Salesforce Experience Site as a public API that can accept data from Pivotal Tracker | |
| * @author : copyright sfdcboss.com | |
| */ | |
| @RestResource(urlMapping = '/handleInboundPayload/*') | |
| /* | |
| Defined in PivotalTrackerUpdatePayload but posting here for reference as well. This is the structure we can expect from the PT Webhooks. | |
| kind | |
| — The value of 'kind' will reflect the specific type of activity that an activity resource represents. The value will be a string that ends in '_activity' and which starts with a name based on the change which occurred. This field is read only. | |
| guid |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * @description : this is a class that will be setup in a Salesforce Experience Site as a public API that can accept data from Pivotal Tracker | |
| * @author : copyright sfdcboss.com | |
| */ | |
| @RestResource(urlMapping = '/handleInboundPayload/*') | |
| /* | |
| Defined in PivotalTrackerUpdatePayload but posting here for reference as well. This is the structure we can expect from the PT Webhooks. | |
| kind | |
| — The value of 'kind' will reflect the specific type of activity that an activity resource represents. The value will be a string that ends in '_activity' and which starts with a name based on the change which occurred. This field is read only. | |
| guid |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| global class PivotalTrackerUpdatePayload { | |
| public enum kindTypes { pull_request_create_activity, pull_request } | |
| public class New_values { | |
| public Long accepted_at; | |
| public Integer before_id; | |
| public Integer after_id; | |
| public String current_state; | |
| public Long updated_at; |
NewerOlder