The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Automate stock changes

Chris
January 2, 2024

Hi, 

 

Looking to automate increase/decrease of generic stock items in Insight when objects are added on service desk tickets. So customer requests a mouse, support person gives them one, they add generic 'mouse' (rather than tracking all of these individually by serial number) as a linked object on the ticket and resolve it. Now in Insight, that should show we have 9 mice on hand rather than 10. 

Need the opposite as part of this as well, so user leaves the business, we receive back a mouse and a keyboard which are added on the ticket, in Insight we now have 10 on hand again. 

Is this doable? FYI I'm not a full Jira admin, looking to handle this myself if I can rather than escalate it. 

 

Thanks in advance! 

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Evgenii
Community Champion
January 2, 2024

Hi, @Chris 

You can try to make it with Jira Automation, using Smart Values, variables and math operations.

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-insight/

I suppose next solution will help:

1. Automation rule is triggered by request event

2. You save number of devices to variable, like mouseLeft

3. You update attribute of this object to value: mouseLeft - 1

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events