a send mail Post-funcation dont work

Issue #493 resolved
Michael shechter created an issue

Hi, I have tried to send a mail to Lead Developer project role ( you can see a print screen attached ) but when I tried to execute the transition I got the next error : One of 'To', 'CC' or 'BCC' is required It seems that you have tried to perform an illegal workflow operation. If you think this message is wrong, please contact your JIRA administrators. but as you can see at the print screen I selected send mail by project role.

thank you.

Comments (7)

  1. Fidel Castro Armario repo owner

    Hi Michael,

    You probably are using a version of JIRA Workflow Toolbox older than 2.2.16, which are affected by a bug that prevents sending emails to project roles. In that case you should update to the most recent version of the plugin, or at least to version 2.2.16.

    Can you please confirm the versions of JIRA and JIRA Workflow Toolbox you are using?

  2. Michael shechter reporter

    My Jira version is 6.3.9 and the Jira Workflow Toolbox is 2.2.9. there is a another way to get the project role to a field and then use this value to send the mail? I try to use in "Copy a parsed text to a field" function the usersInGroup(string groupName) on basic but it didn't work

  3. Fidel Castro Armario repo owner

    You can get in Ephemeral string 1 a comma separated list with the users in a project role "DevManager" using "Copy a parsed text to a field" with the following configuration:

    Captura de pantalla 2017-02-01 a las 11.00.40.png

    Text to be parsed is:

    toString(usersInRole("DevManager"))
    
  4. Log in to comment