Skip to content

Status as mandatory parameterΒ #144

@petr-miklenda

Description

@petr-miklenda

Issue description

In this step, the status is not a mandatory parameter, however upload to GooglePlay is not possible, without specifying it. The documentation mentions the statusUnspecified, however with this value, the upload fails (failed build linked below) with error:

Error 400: Release status must be specified., badRequest

❗ And when status is not filled, upload is successful. However the app is directly released to given track , so I assume, that the completed is used as default value. This is potentially dangerous (and hidden) behavior. Is this please documented anywhere? I wasn't able to found anything related.

Bitrise info

Steps to reproduce

  1. Upload the .apk (or .aab) to GooglePlay using different values of status parameter
    • statusUnspecified - fails (error mentioned above)
    • draft - works OK
    • inProgress - not tested
    • halted - not tested
    • completed - unintentionally tried and seems working OK
    • empty - works, but completed is probably used as default value

Summary

Is it possible to just upload the .apk (or .aab) to GooglePlay, without releasing it? Or releasing at least as a draft is the necessary? If so, can you please make status as mandatory param, to make the upload more clear?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions