Versions Compared

Key

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

...

Html
<iframe width="560" height="315" src="https://www.youtube.com/embed/RwN8Sz5I_bA" frameborder="0" gesture="media" allow="encrypted-media" allowfullscreen></iframe>

...

Bitbucket file macro
showLineNumberstrue
titleIssueMustHaveAttachment.sil
urlhttps://bitbucket.cprime.io/projects/CAP/repos/sil-script-library

...

/

...

raw/Workflow_Validators/IssueMustHaveAttachment.sil?at=refs%2Fheads%2Fmaster

...

syntaxHighlighting

...

JavaScript

...


Note

This script works only to check for the attachments that are already present for the current issue. If you need to check for attachments that are being added in the transition screen, please use !hasInput("attachments") instead of size(attachments) == 0.

See also