JIRA connection through coding in Katalon Studio

How do I connect to JIRA through code in Katalon?
and How do I implement how I want to raise a defect (with custom-defined parameters and whenever I want to raise).

Please help.