How to add auto comment to jira ticket which are deployed via jenkin pipeline ( groovy script)

I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 7, 2024


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"


0 answers

Suggest an answer

Log in or Sign up to answer