Hello Community,
I am trying to figure out how I can add a comment if the Status of an Issue changes
I would like to add a functionality such that when a certain event occurs, the status of an issue should automatically changed from "Open" to "In progress" if a comment will be added as example
I know it is not finished but I tried accomplishing this with the following code
if(issue.getIssueType().name=="Task"){
MutableIssue epic = issue
epic.setStatusId("2"); //Read that 2 meant status = "Done"
}Could someone provide me with guidance regarding this issue.
I appreciate all the help!
Regrads cennet