Hi
Say Jenkin build pipeline( groovy script) deploy 10 jira tickets. 9 got deployed successfully. 1 ticket got some error.
I need groovy script which can be part of jenkin pipeline script which performs below action
1) Add comment to those 9 jira ticket - " Build deployed successfully"
2) Add comment to 1 jira ticket which got failed - "Build failure in this ticket"