I am able to Integrate JIRA with Jenkins , but now i want to validate the JIRA ID using Jenkins file.
while the jenkins build happens , comment is logged in jira for successful build .
but now i want to validate the JIRA ID passed in parameters is correct or not
for ex: AS-1234 is my JIRA ticket number
so validation will be like , Ticket number should starts with AS-