I try to push defects from TestRail to Jira. Screenshot
But I get an error. Screenshot
Can you please let me know what I should do to resolve this error?
In other cases integration TestRail-Jira works good. For example I can add tasks without problems. Screenshot
Try this:
import com.atlassian.jira.component.ComponentAccessor
changeItems = ComponentAccessor.changeHistoryManager.getAllChangeItems(issue)
if (changeItems?.size()>0) {
ComponentAccessor.userUtil.getUserByKey(changeItems.findAll{it.field=='resolution'}.sort(false).last().userKey)
} else {
null
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.