Jira Summary is not fetched
Closed this issue · 1 comments
TitliBasu37 commented
I am using below code :
{
def changelogString = gitChangelog returnType: 'STRING',
from: [type: 'REF', value: "${currentReleaseTag}"],
to: [type: 'REF', value: 'master'],
ignoreCommitsIfMessageMatches: '^Merge.',
ignoreCommitsWithoutIssue: 'true',
jira: [issuePattern: 'CICD'+ '-([0-9]+)\b',password: "${PASSWORD}", server: 'https://jira.com', username: "${USERNAME}"],
template: """
<!DOCTYPE html>
Change Log for {{repoName}}
JOB NAME: ${JOB_NAME}
BUILD ID: ${BUILD_ID}
GIT BRANCH:${GIT_BRANCH}
{{#tags}}
{{name}}
{{#issues}}
{{#hasIssue}}
JIRA ID | JIRA TITLE | GIT MERGES |
---|---|---|
{{issue}} | ### {{name}} {{issue}} {{title}} {{#hasIssueType}} *{{issueType}}* {{/hasIssueType}} {{#hasLabels}} {{#labels}} *{{.}}* {{/labels}} {{/hasLabels}} |
{{#commits}}
{{{messageTitle}}}
{{hash}} {{authorName}} {{commitTime}} {{/commits}} |
But still not able to print the summary in 2nd collumn
Expected result - the 2nd collum should fetch the JIRA ticket summary tab with JIRA issue ticlet no
actual result - JIRA DE-10234
tomasbjerre commented
Still not following issue template