Browse issue and create it if it does not exist?

I am creating a project for our asset management (very similar to the great example provided by atlassian - http://blogs.atlassian.com/2014/03/jira-asset-management-overview/).

I created a custom project with a custom workflow and entering more and more assets into the system but one thing I am missing is the ability to create a new issue / asset if it does not exist.

 

I have a label on each asset with a QR code with points to https://<jira>/browse/TAG-NNN.

If I am adding a new asset to the system and glued the label to the asset I would like to be able to quickly create the issue in JIRA by scanning the barcode and then just enter all the details in the newly created asset.

Right now, if the asset is not yet created I receive the error message "Issue does not exist" when accessing the URL. Is there a way to change the behaviour of the project so a new issue with the correct ID is created?

 

3 answers

1 accepted

1 votes

Yes, but no.  You could theoretically catch a non-existent issue and redirect it.  But JIRA creates issues sequentially, and that's not going to change.  It will never create TAG-NNN when it can't find it, it will create TAG-next-free-project-seqence.  So you'd have to change the asset tag on the item to match JIRA, not make JIRA create a record.

Thanks for the quick reply. I thought so, makes sense from a Jira point of view ;-)

You said:

I have a label on each asset with a QR code with points to https://<jira>/browse/TAG-NNN.

I just can't understand it. How did you set QR code?

Use QR generating software

Hi Sebastian, did you end up finding a solution for this? I am looking at doing the same thing, but have come up with the same problem as you.

I'd really appreciate any help you can provide.

Tristan

Create the issue first, then create the tag from that.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,853 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot