Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Pull request description is not updated when the pull request body is empty #48

Open
Romack opened this issue Oct 25, 2021 · 0 comments

Comments

@Romack
Copy link

Romack commented Oct 25, 2021

As a developer, I would like the pull request description to be updated with the details from the JIRA ticket even if the pull request description is empty/null.

For simple changes, the pull request title and/or commit comments are sufficient context for the pull request reviewer. In those cases, a pull request description may not be needed. In those instances, I would still like for the pull request description to be updated with the ticket details.

In this case, the value returned for 'body' is null

{
"body": null
}

the default value of '' is not honored and prBody is set to null below

const {
      body: prBody = '',
    } = pullRequest as PullRequestParams;
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant