Create object and assign to user who requested it
Maintaining a detailed record of user purchases and requests is vital for company's operations, encompassing streamlined inventory management, data-driven decision-making, and effective dispute resolution.
For the automation rule to work correctly with Shoppie, first, a category needs to be mapped with an Assets custom field. This is because selected items will be stored in the custom field and can later be identified in Jira automation:
When a ticket is created through Shoppie and if the category has been correctly mapped the issue should look like the following:
So, the first step of the automation rule is to detect changes done to this custom field:
Next up we need to check if the ticket is indeed created through the Shoppie project and the correct request type:
If the previous components are correct we can finally create the object in Assets and populate the attributes:
The object in Assets should look like the following:
That’s it! The automation rule is correctly configured and each item obtained through Shoppie is automatically created in Assets and assigned to the user who requested it!