Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

changing status of issue based on commenter

NEGAR JALALIAN
Contributor
June 29, 2022

hi 

may be it sounds stupid and easy but I'm new to script runner . 

I like to start using this app more and more ..

any idea How to automatically (using script runner) change one status to another when only specific user comment on the issue , not all users .. but only one specific user ?

1 answer

0 votes
Nic Brough -Adaptavist-
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.
June 29, 2022

https://library.adaptavist.com/entity/transition-an-issue-using-issue-input-parameters is a good example of how to transition an issue.

In this case, you would want to put most of that code into a scripted listener which would react to the "issue commented" event, look at who triggered it and run the transition code if one of the right people made the comment.

Suggest an answer

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

Atlassian Community Events