<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
certegroep / symfony-jira-issue-notifier example snippets
use CerteGroep\Component\Notifier\JiraIssue\Message\IssueCommentMessage;
use CerteGroep\Component\Notifier\JiraIssue\Message\JiraIssueCommentOptions;
$options = (new JiraIssueCommentOptions())->generic('This is a test...');
$message = (new IssueCommentMessage('KEY-1234', $options));
$texter->send($message);
$options = (new JiraIssueCommentOptions())->emojiText('tada', 'Fixed it!');
$options = (new JiraIssueCommentOptions())->success('Fixed it!');
$options = (new JiraIssueCommentOptions())->info('Did you know...');
$options = (new JiraIssueCommentOptions())->warning('Uh oh! Check this out...');
$options = (new JiraIssueCommentOptions())->error('Something went wrong');