app/services/token_management/request_whitelist.rb
# Create ticket in jira for enterprise company/organization
#
# * Author: Anagha
# * Date: 17/04/2019
# * Reviewed By:
#
Create ticket in jira for enterprise company/organization
Author: Anagha
Date: 17/04/2019
Reviewed By.
Create ticket in jira for enterprise company / organization Author : Anagha Date : 17 / 04 / 2019 Reviewed By .
def create_issue_in_jira
      company_name = @client[:company_name] || "N/A"
      issue_params = {
        project_name: GlobalConstant::Jira.cs_operation_project_name,
        issue_type: GlobalConstant::Jira.task_issue_type,
        priority: GlobalConstant::Jira.medium_priority_issue,
        assignee: GlobalConstant::Jira.move_to_prod_assignee_name,
        summary: "Move to Production Request - " + company_name,
        description: get_issue_description
      }
      r = Ticketing::Jira::Issue.new(issue_params).perform
      return r unless r.success?
      success
    end
def create_issue_in_jira company_name = @client [ :company_name ] || "N/A" issue_params = { project_name : GlobalConstant :: Jira . cs_operation_project_name , issue_type : GlobalConstant :: Jira . task_issue_type , priority : GlobalConstant :: Jira . medium_priority_issue , assignee : GlobalConstant :: Jira . move_to_prod_assignee_name , summary : "Move to Production Request - " + company_name , description : get_issue_description } r = Ticketing :: Jira :: Issue . new ( issue_params ) . perform return r unless r . success? success end
Create ticket in jira for enterprise company/organization
 Author: Anagha
 Date: 17/04/2019
 Reviewed By:
Create ticket in jira for enterprise company / organization Author : Anagha Date : 17 / 04 / 2019 Reviewed By :