Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Improve Order requests with assets and automations

 

In this article I’d like to show you how you can work with Assets and Automations to further enhance the experience of the case “Order a new device“ by:

  • Offer a pick list of devices instead of a text field

  • Automatically fetch and assign the manager as approver of the request

The steps below can be used for other cases too, wherever you have a standardised “pick list”(applications, service requests, travel, lunch) for requesters to choose from and if a third party related to the requester should be involved to approve a request. You can also decouple these two enhancements and use only one of them.

What is Assets

If you are on Jira Service Management Cloud Premium or Enterprise plan you have access to the Asset functionality which offer capability to manage master data and use it in your Jira issues.

In Assets the each data point is an Object, organized in Object Schemas (call it f ex Internal IT Assets) , can be of different Object Types (Device Models, Organisations, Offices) that have attributes (f ex status, serial number). You create schemas, object types and attributes so it suits the needs of your company.

You have a few options to consider about introducing data management in Jira. You can:

  1. Maintain this data in Jira as your master. Add, remove, change is all done in Assets.

  2. Import the data from an external source via csv. You need to ensure to import new data regularly.

  3. Use an importer app to sync in data from an external source for example from any database, Azure AD, InTune, Google workspace or Jamf. These sources will continue to be the master of the objects and Jira will then have a replica of the object that we can use for the issues.

The neat thing with the importer apps is that they establish the whole object schema, object types and attributes when you install the app. You don’t have to know the data model in your source and build it up in Assets before syncing in the data, the app does it for you. It's also possible to add your own object types and attributes to a synced schema to extend it.

The template request for New mobile device

Let us take the Request called “New mobile device“ that you get when you create a project with template IT Service Management. It is connected to a workflow with an approval step to ensure someone is approving the order.

Image 1 - The defailt Mobile Device order form.png

Having the requester choosing an approver in a field amongst many users might not be ideal or safe. What if they choose the wrong user? Normally it is the manager of an employee that approves a purchase.

The field for device is free text which means that different users will describe what they want in different ways. That will cause more cycles of clarifying whats needed and what is offered, causing loss of time and possibly some friction as expectations can’t be met.

What if you already have a defined number of models to choose from in your business? What if you already know who the manager of the user is? And what if you have this information stored in Azure AD or Google Workspace?

How to enhance this process

With Assets and Automation we can enhance this request form to be a little bit more automated and relevant.

Step one - Get started with having device data into Jira

Below is an example of an object schema set up by the InTune importer app. I have models as an object type that has attributes like Name, Description, Manufacturer and Status. It is good to have a status attribute as the models offered will change over time and you might want to keep an archive.

Image 2 - Example Object in Assets.png

 

Step two - Create & Configure Asset fields to connect data with issues

Create an Asset field fex “Device Model Choice” and configure this to fetch all models with status active. You can choose that attributes to show on the portal and what attributes should be displayed for the agent. 

Add the field to the screen and request type.

Image 3 - Asset field configuration.png

 

Step three - Get started with having employee-manager data into Jira

In my case where a user is requesting a device we also wanted do know the manager of the requester.

This information is often born and updated in an already existing directory service, a master, that you do not seek to replace with Jira assets. With the importer app in place you will instead sync the data from your source to keep the latest information available so we can use it in Jira issues.

In the example below I have used the importer app for Azure AD plus extended that with a Jira user attribute. An additional automation is needed to automate the mapping of Jira users to User objects.

 

Image 4 - User object synced from Azure AD.png

 

Step four - Create an Automation to assign the manager as the approver

We want the automation to go to assets and via Jira user of the reporters find the user object of the reporter, find who the related manager is of that user object, take their Jira user and stick it in approver field on the Jira issue.

Here is how to build it

Trigger = Issue Created

If = condition on Request type

Then = Look up object, I used this AQL

ObjectType = Users AND object HAVING inboundReferences("Jira User" = {{issue.reporter.accountId}})

Then = Edit issue field

{{lookupObjects.Jira User}}

 

Image 5 - Automation Lookup.png

 

Image 6 - Automation edit approver.png

 

 

The end result

Improved request form for the reporters

  • Removing the user picker for approver means less fields on the order form for the requester

  • Fields is a list of option instead of free text is easier to work with

  • Adding more attributes like description gives the reporter more information about their choice

Image 7 - Improved form.png

 

Improved request for the agents

  • Easier to fullfil and set the expectations of requesters on device choices

  • Less time spent on validating that the right person is the approver

  • Less time spent on retrieving more information from the reporter

 

Image 8 - Improved agent view.png

 

Best regards

/Lisa

 

Other articles on similar topics:

How to use Assets for case Reporting Broken Hardware 

Using the Location of the Jira User 

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events