Forums

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

AutoClose using script runner

Pavithra_UST March 11, 2018

Hi All,

My JIRA version is  6.2.5 and installed the script runner version 3.0.16.

Update the version to v. 3.0.16 successfully, after that created just dummy log to check whether the issue is closed automatically.

 

image.png

Set the condition as below & executed the service. But it just returns like below,

Number of issues returned by query: 1 

But the log is not getting closed automatically. I believe the action is not working.

Could you please share your thought on this.

 

Thanks.

 

 

2 answers

1 vote
Kyle Moseley
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.
March 11, 2018

Check to see if systemuser has permissions to Resolve Issue and is not blocked by any workflow conditions or validations in the respective.

Kyle Moseley
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.
March 12, 2018

If that specific transition is not a loop back into the same status, consider running the Integrity Checker to fix a 'broken' status. I have occasionally seen this fix similar issues. 

 

https://confluence.atlassian.com/adminjiraserver071/using-the-database-integrity-checker-802592958.html

Kyle Moseley
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.
March 20, 2018

Hi. If this answer helped, please mark it as an accepted solution using the checkmark next to the answer. Thanks!

0 votes
Pavithra_UST March 12, 2018

Thanks for reply.

After giving full privilege to system user , i m getting below,, the log is not closed still

 

image.png

What could be the issue. Is the issue comes from transition configuration flow.

Kyle Moseley
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.
March 12, 2018

Edited

see my reply below my answer

Suggest an answer

Log in or Sign up to answer