Author of auto generated comments

The Scheduler now has a feature to select author of auto generated comments in issues generated by workflow triggers. Previously there was only an anonymous author there.

IMPORTANT NOTE → Anonymous will appear as author if the selected user in some project does not have proper adding comment permission or for some reason getting the right user fails.

Possible options:

  • Creator

  • Owner

  • Assignee

  • Reporter

  • User

For example you can:

  1. Create Scheduled Issue with workflow trigger type and your desired issue type, source and target status.

image-20240621-091532.png

2. Perform transition selected in trigger

  1. New Issue should be created.

  2. Newly created issue should contain a comment with proper selected author in settings.

You can set author of auto generated comments in two different ways and scopes:

Global settings: (only for users with admin permission)

1. Click Manage Apps
2. Click ,,Global Settings” in the bottom section of settings.
3. Select your desired author.

image-20240813-100808.png

Clicking restore button will display a dialog with proper information about restoring author logic (global author is restored to anonymous but it does not affect any project settings unless you uncheck enable editing checkbox and press save with for example restored settings)

Additionally you can choose whether author settings could be editable in projects settings. Changing author in projects settings is impossible when the checkbox is not checked, and therefore the author is selected from global settings (example below).

Additional info:

  • Default value in global settings for the comment author is Anonymous (refers to cases when the author was not saved even once in global settings, or when admin clicks restore in that view)

  • User picker in global settings contains every user in JIRA. When the admin selects an user and some project (with no permissions for that user) uses global settings, then the comment author will be set as anonymous.

Project settings:

  1. Select your project

  2. Go to project settings

  3. Go to settings (at the bottom in ,,The Scheduler” section)

  4. Now you can select proper author type using radio buttons. Selecting user option will show another select in which you can select your desired author.

Additionally clicking ,,restore” will restore project comment author to the global settings author.

Project author settings are shown below.

Selecting User option allow you to set comment author as one of the users with proper creating comment permission or anonymous.

Additional info:

  • Default author for the project is Anonymous or last saved author from global settings (when the checkbox ,,enable editing in project settings” was unchecked)


Keep in mind that there can be a situation when admin in global settings selects an user who does not have proper permission in project. In that case, proper info in project settings will be displayed and the author will be set as anonymous. This situation has two cases:

Case #1:
Selected author from global settings does not have permission to add comments and editing in projects settings is disabled:

 

Case #2:

Selected author from global settings does not have permission to add comments but editing in projects settings is enabled:




Feel free to tell us what topic should be covered: thescheduler@psc-software.atlassian.net