assignee record

arno
Contributor
October 18, 2023

Hi All

We have been using scriptrunner to automatically create an issue recently. Currently, there is a problem that we need to determine which issuetype in which space should be created by judging who the previous issue manager is. How can grooy implement statements like jql (assignee was in "test@test.com"), is there a way to implement this feature

1 answer

0 votes
Tom Lister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 18, 2023

Hi @arno 

You can find this information in the issue changelogs

I haven't got any groovy code to hand but the ChangeHistoryManager is the place to start.

https://docs.atlassian.com/software/jira/docs/api/9.11.0/com/atlassian/jira/issue/changehistory/ChangeHistoryManager.html

You can get the change items for a field and check the from and to values for assignee changes to see if your user has been an assignee at some point.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events