Skip to content

cannot override issue URL when issueUrlFormat has been set, because of repository.url value #34

@achmadk

Description

@achmadk

My office use bitbucket and JIRA to organize SCM and issue management. I have set repository.url inside package.json file from bitbucket. For issue link, we use URL from JIRA instead. Here is our configuration inside package.json file.

{
  "repository": {
    "url": "git+https://${my-name}@bitbucket.org/${my-office}/${office-app}.git"
  },
  "standard-version": {
    "issueUrlFormat": "https://${my-office}.atlassian.net/browse"
  }
}

I have set issueUrlFormat to JIRA issue URL. I think that when we have set issueUrlFormat value, issue URL inside changelog.md file should be changed. Unfortunately, when running standard-changelog -f, generated CHANGELOG.md file still use URL from repository.url.

Here is CHANGELOG.md file content after running standard-changelog -f

### Bug Fixes

* **utilities:** unable to run `npm run pre-start` in demo ([${generated-commit-hash}](https://bitbucket.org/${my-office}/${office-app}/commits/${generated-commit-hash})), closes [${issue-ticket-id}](https://bitbucket.org/${my-office}/${office-app}/issue/${issue-ticket-id})

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions