Using Jira for asset management - creating barcodes and issues

After reading the blog posts and associated ebook, I'd like to implement what is described. However, there's one thing I can't figure out and I'm hoping someone can help.

Although the series of barcodes (say 10,000) can be printed off in advance, I can't figure out how the creation of issues would work. Upon scanning an unused barcode, the issue wouldn't exist yet, so I get an error "this issue can't be viewed'.

The blog series says "Note: The creation date for the issue in JIRA using our method will be the date of print of the label. Thus, we have an additional custom field called the date of purchase that reflects the acquisition date for the asset." This indicates that the 10,000 issues are created upfront.

How do I create 10,000 empty issues upfront? Alternatively, can anyone suggest another way to do this?

2 answers

This widget could not be displayed.

Yes, you have to pre-load the project with the tags you intend to use.  You could use CSV imports to pre-populate it.

I went a different route when I did it.  We had a load of existing tags with unique IDs that were not Jira keys, so we continued to use that field.  It was, of course, a field on the Jira issue, and the code I wrote for scanning looked at that field.  If a search returned 1 hit, great, got  an issue.  If it returned more, an issue was raised in a separate project for admins to look into (and the user warned there was more than one).  If it returned 0, it created a new asset issue and started asking questions.

Thanks Nic, appreciate the help.

I don't see how I can create them upfront though - each asset type uses a different issue type, so I would know what type of issue to create upfront.

How did you set it up so that if it returned 0, it created a new asset issue? That sounds like it would suit me.

It was the code in the service that picked up incoming scans and their associated data.

This widget could not be displayed.

Hi all,

Nic was really helpful, but I can't easily go down the route he did. Has anyone else done it the way the Atlassian guide describes?


Thanks in advance.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

77 views 1 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you