Hi, I'm wondering if anyone has created a way to check out books in the asset management piece of Jira? My concept is to put QR codes in the books and then have the users - who are already in the system as clients in the I.S. side of things - use their phones to scan the QR code and borrow the books... I'm brand new to Jira so was wondering if anyone was doing a similar project?
Thanks.
Hi @miristar ,
I haven't thought about it but it's a great idea. Love it.
Thinking about the current state of functionalities you'd have to have an intermediate server because creating a Jira ticket and adding an asset is a 2step process right now.
In my opinion a user would scan a qr code containing the asset identifier of the book. The application should know customer identification information and would call a Jira server creating an issue for borrowing the book. Then it would make a subsequent call adding the asset to the newly created ticket.
Instructions
Given an issue key or id and the asset details,
/rest/api/2/issues/<issueKey>?expand=schema
schema
elements, find all fields where:custom.schema='com.atlassian.servicedesk.assets-plugin:assetfield'
Note the custom field id's, eg customfield_10050
fields[customfield_10050].add(
{
value:"asset.appKey/asset.originId",
label:"asset.label"
}
)
More on APIs -> https://developer.atlassian.com/cloud/jira/platform/rest/v3/ .
Let me know if you decide to start working on this.
Cheers,
Radu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.