how to get issue assignee from the log in scriptwriter

khalid alqahtani September 28, 2019

Hi

 

i have 4 columns (to do, development, test, done).

the developer move the issue to development after that moved to test.

QA team will handle the issue from test column and change the assignee to him.

 

my question is how i get issue assignee from column Development in the log?

because when QA Create bug there is issue link, and i create script in post-function to get the last assignee from issue link, and i wanna to get owner assignee of the issue (in column development) 

 

kindly help

1 answer

0 votes
Thomas Magny-Garcia
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 30, 2019

Hi @khalid alqahtani 
I am not sure I understand your issue. But I will risk an answer.
Behind your columns, there is an association with statuses I guess. Can't you use these statuses to get assignee of tickets?
Or maybe you may look on the history tab to get all assignee change?

khalid alqahtani October 1, 2019

Hi @Thomas Magny-Garcia 

i can see the history of the issue in UI, but if there any way to see the history in script runner?

Thomas Magny-Garcia
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 1, 2019

Hi,

I don't master ScriptRunner but I found this, maybe it will be helpful for you ? https://community.atlassian.com/t5/Jira-questions/Script-runner-Store-issue-change-history-in-a-custom-field/qaq-p/132474

Suggest an answer

Log in or Sign up to answer