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

0 votes

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.

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
Community showcase
Posted Tuesday in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

36 views 0 2
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