Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

Commit

Permalink
feat: Link to the previous issue in external_id (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamtur01 authored and audiolion committed Oct 17, 2019
1 parent 224119c commit a373ede
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ghch.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const githubClubhouseImport = options => {
.then(project => {
let issuesImported = 0
return Promise.all(
issues.map(({ created_at, updated_at, labels, title, body }) => {
issues.map(({ created_at, updated_at, labels, title, body, html_url }) => {
const story_type = getStoryType(labels)
return reflect(
clubhouse
Expand All @@ -51,6 +51,7 @@ const githubClubhouseImport = options => {
story_type,
name: title,
description: body,
external_id: html_url,
project_id: project.id,
})
.then(() => (issuesImported = issuesImported + 1))
Expand Down

0 comments on commit a373ede

Please sign in to comment.