Integrated Jira

parent d33d481c
...@@ -64,13 +64,13 @@ public class JiraTicketCreator { ...@@ -64,13 +64,13 @@ public class JiraTicketCreator {
System.out.println("JIRA response body: " + responseBody); System.out.println("JIRA response body: " + responseBody);
if (code == 201) { if (code == 201) {
System.out.println("Ticket created successfully."); System.out.println("Ticket created successfully.");
} else { } else {
System.out.println("Ticket creation failed. Check your project key, issue type, or permissions."); System.out.println("Ticket creation failed. Check your project key, issue type, or permissions.");
} }
} catch (IOException e) { } catch (IOException e) {
e.printStackTrace(); e.printStackTrace();
System.out.println("Exception occurred during JIRA API call."); System.out.println("Exception occurred during JIRA API call.");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment