I'm attempting to set up a JSM Assets Object Schema and matching JSM Project to manage our company software portfolio.
I have an Object Schema: Software Portfolio and within the schema I have two object types with the following attributes:
On the project side I have a Insight Custom field called Software pulling all Software objects. Employees can use this dropdown field in the JSM portal request screen to select the software they want.
I also have a Insight Custom field called Assignee pulling all User objects where the employee can select the intended assignee of the license.
Once the license has been assigned and the request set to Done I would like some Jira automation magic to be triggered.
When an employee leave the company a ticket should be created to unassign the Software licenses associated with that User. So I would need some Jira automation here too:
Has anyone configured something similar or written/know of any tutorials that can direct me through how to set something like this up?
From all the training and marketing material I've read up on it seems this is quite a typical use case, but I've been really struggling to get it working.
Particular does anyone know how to append rather than overwritten the attribute values? Even though my Assignees attribute has it's cardinality set to Unlimited it overwrites no matter what I try.
Did you ever manage to find a solution for this and get it to work?
No, unfortunately not, but I can share my progress here in case it can help someone else.
Step 1: Add the value chosen in the Assignee Insight Custom field to the chosen Software's Assignees attribute (this needs to append to the existing attribute value so we can list all Users with a license for Software X)
I feel I was getting close to a solution but I had an issue with the final step of editing the assets attribute and was getting the error "Attribute value is not valid on Objects".
As a Global Automation rule:
As I said this doesn't work, the smart values aren't accepted as valid attribute values however it did show in the log the list of object keys including the new user value from the current issue.
Step 2: Calculate the number of used and available licenses by Total License Count - Assignees size.
I did find an solution for calculating the number of used and available licenses.
As a Global Automation rule:
Unfortunately, that's as far as I got, without Step 1 there was little point in investing time into any automations for unassigning.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We implemented a similar Use Case. But we use a "Link" ObjectType.
So there are a lot of Software and a lot of Employees.
When a "Software" is assigned to a "User" an entry in "Link" will be created.
Link has a ObjectField for Software,User, (and some other meta informations)
With this setup we are are to do calculations (count user, list of software by user, etc.)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Fingers crossed someone out there can help since I want to do something similar !
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.