Add comment when rejecting an issue

Use case

When an issue is rejected, a comment will be added to the current issue mentioning the reporter.


⚒️ Configuration

Target issue*

Select current issue.

The comment will be left in the current issue.

Comment text*

Use the following expression:

Hi [~accountid:%{issue.reporter}], 
this issue has been rejected. Please have a look at it for additional information.

Thanks, 
%{system.currentUser.displayName}

The issue reporter will be mentioned and informed about the rejected issue.

The syntax used for the mention guarantees that a working user mention is added to the comment regardless of personal Atlassian account settings of the mentioned user.

Comment author*

Select current user.

Comment visibility*

For this example we choose unrestricted (all users).

All users with access to the issue will see the comment.


📚 Related examples