snipe / snipe-it

A free open source IT asset/license management system
https://snipeitapp.com
GNU Affero General Public License v3.0
11.12k stars 3.19k forks source link

Requestable items don't self close #15271

Open mikeatca opened 3 months ago

mikeatca commented 3 months ago

Debug mode

Describe the bug

When a person returns an item they've requested it does not automatically close the request. someone must cancel the request in order to make the request go away.

I automated the check-in process, however I can't find a way to make the request go away through the API.

Reproduction steps

  1. request an asset
  2. check out the asset
  3. check in the asset
  4. review the requested assets page ...

Expected behavior

when the item is returned the ticket should be closed

Screenshots

No response

Snipe-IT Version

new install

Operating System

linux ubuntu

Web Server

apache

PHP Version

8.3.6

Operating System

windows

Browser

firefox

Version

No response

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

no error message

Additional context

I tried to automate a check in /out process but it doesn't work because I can't delete the request after it's been returned.

welcome[bot] commented 3 months ago

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.