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

This widget could not be displayed.

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 ;-)

This widget could not be displayed.

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

This widget could not be displayed.

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

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

259 views 1 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