[ DVCS ] connect github to JIRA

Github setup

organizations > settings

Developer Settings > OAuth Apps

New Oauth Apps

Homepage URL / and Authorization callback URL : http://your.jira.domain

Screen Shot 2019-04-18 at 9.04.31 PMScreen Shot 2019-04-18 at 9.05.12 PM

Jira setup

Jira Administration > Application

Integrations. > DVCS account

click Link Bitbucket Cloud or Github account

Host : GitHub 

Team or User Account : YourOrg ( i.e. if your repo URL is `http://github.com/YourOrg/YourRepo` )

Client ID : fromGithubSetupAbove

Client Secret : fromGithubSetupAbove

Screen Shot 2019-04-18 at 8.50.37 PM.png

Feature

Smart Commit : TICKET-2 add a README file to the project

Result on Jira : a link to github

Screen Shot 2019-04-18 at 9.13.27 PM

More : https://confluence.atlassian.com/adminjiraserver077/linking-a-bitbucket-or-github-repository-with-jira-945532577.html

Advertisements

[ react-marked ] markdown

$ node
require('marked').lexer('> i am using marked.')
[ { type: 'blockquote_start' },
{ type: 'paragraph',
text: 'i am using marked.' },
{ type: 'blockquote_end' },
links: {} ]

Given a Markdown text string, the “lexer” returns a list of tokens. It is now up to you to determine how those tokens are used.

ref : https://stackoverflow.com/questions/42173479/what-is-a-markdown-parser-how-to-use-it-while-building-a-markdown-editor, https://github.com/LinuxBasic/react-marked