Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Try using a simple script to test that the configuration is set up correctly and that sendEmail() works as expected.

Example sendEmail() code


Code Block
sendEmail("first.last@example.com", "subject", "body");


null sender

If this does not work, the first thing to check is that the mail configuration is set up correctly. Check that the "Send mail via" option has a "sender" option selected. See this screenshot from the documentation:

Image Modified

The most common error in configuration is that "Null sender" (the default option) is selected. It is suggested to use the "Container sender" as this uses the least amount of system resources. For more information, see this Power Scripts documentation on mail configuration.

...

  • Do you see any error messages in the Jira system logs?

  • To see the system logs, you can click on the "Load log" button at the bottom of the SIL Manager.

  • The logs are also available by navigating to <JIRA_HOME>/logs/atlassian-jira.log

  • Screenshots of the Mail configuration.

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@135a7
showSpacefalse
sortmodified

...

reversetrue
typepage
cqllabel = "kb-troubleshooting-article" and type = "page" and space = "PKB"
labelskb-troubleshooting-article

Page Properties
hiddentrue


Related issues