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 vote

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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

134 views 0 3
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