Replies: 1 comment 5 replies
-
You would need to write a custom handlebars extension to take the description string and split it up to build the JIRA URL See the wiki for details, and the aresome sample here |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Everything works as well with the release definition and wiki page updater. I have thoughts in my mind I will give you more in my example.
For my wiki page, I have shown the Last PR, Commit Message, and Description
But in my description, I have a title ID from the Jira issue.
, For example, #4777 Description Message
How can I get from this, the description is only the #4777 and visualized into a new cell in Wiki.
Let the description column be the whole message, but in the new cell, I want to build the URL for Jira Issues and put the object from the description message.
Here is my template:
{{#forEach pullRequests}} {{/forEach}}[{{this.pullRequestId}}]({{replace (replace this.url "_apis/git/repositories" "_git") "pullRequests" "pullRequest"}})
Beta Was this translation helpful? Give feedback.
All reactions