• JonathanB
  • NEWBIE
  • 0 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 6
    Replies
trigger saleInsertedTrigger on i360__Sale__c (after update) {
     for (i360__Sale__c S: Trigger.new) {
     
     if(s.EE_Service_Level__c = 'full' || s.EE_Service_Level__c = 'Audit Only'){
     
     }
    JCFS.API.createJiraIssue('Project ID', 'Issue Type ID');
}
trigger saleInsertedTrigger on i360__Sale__c (after update) {
     for (i360__Sale__c S: Trigger.new) {
     
     if(s.EE_Service_Level__c = 'full' || s.EE_Service_Level__c = 'Audit Only'){
     
     }
    JCFS.API.createJiraIssue('Project ID', 'Issue Type ID');
}
Hi, attempting to create a trigger to create JIRA ticket when a checkbox is checked; Create_Infra_Ticket__c

trigger insertCase on Opportunity (after insert) {
    for (Opportunity opportunity : Trigger.new) {
        if(Create_Infra_Ticket__c == true){
    JCFS.API.createJiraIssue('JIRA PROJECT ID', 'JIRA ISSUE TYPE ID');
        }
    }


Really appreciate anyone that can help !