Skip to content

Update Status ID on Set-SnipeITAssetOwner #294

@Lokiarmos

Description

@Lokiarmos

Context

So under the API for check in in you have to specify the status id, it looks like that the code is taking the last status id of the device that is deploy-able.

In an environment where you may be using status that indicate that an assets is deployed you have to set the status to asset first before assigning the status where if we call the API directly we can assign a status at the same time that the device is checked out.

Expected Behavior

The behavior should be over-writable via an option parameter that allow the user to specify a device.

Current Behavior

Takes whatever the current status is.

Possible Solution

Implement a -status_id optional parameter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions