• Lillian Co 9
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
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 !
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 !