I want to read issue Development field information (commits) with groovy post function script
the plugin com.atlassian.jira.plugin.devstatus.api.DevStatusSummaryService seems to not be no more available.
we use the JDC 8.20.0 version server
Can someone advise how to do this?
Thanks a lot, it helped me very much! Now I can get set of commit authors
def items = data['detail']['repositories']
items.each{ repos->
repos.each {repo->
repo.each{ commits->
commits.each {commit->
if (commit["message"].toString().contains(issue.key)){
def authorName = commit["author"]["name"]
authors.add(authorName)
}
}
}
}
}
return authors as Set
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@roger layaniCouldn't tell me how to get a pullrequest from GitLab.
there is an entry in the task
def data = devStatusSummaryService.getDetailData(issue.id, "gitlab", "pullrequest", currentUser).right().get()
I get an empty response
com.atlassian.jira.plugin.devstatus.rest.DetailBean@59544878[detail=[],errors=[],configErrors=]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.