Forums

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

ScriptRunner to check if comment was made by the Reporter of the issue

Zaldy Parian
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.
December 7, 2023

Hi all,

Thanks for reading my question.

We are using JSM on cloud + ScriptRunner. Seeking help for a code to:

  1. check if the issue has new comment
  2. check if the new comment was added by the Reporter of the issue
  3. if #2 above is true, then transition the status back to 'Work in progress'. Else, do nothing {return}.

Appreciate any help and guidance on how I could achieve this through ScriptRunner Listener.

2 answers

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.
December 14, 2023

Hi Zaldy,

I would look at a couple of things:

Zaldy Parian
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.
December 14, 2023

Thanks, Nic.

I search for the code for the event "issue commented" from the web. Then add an IF clause as per your 2nd bullet. If I'm successful, I'll move on to trasition/escalaiton step.

 

Regards,

0 votes
Zaldy Parian
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.
December 14, 2023

Anyone can please help with this? Appreciate any guidance and suggestion.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events