Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Browse issue and create it if it does not exist?

Sebastian Hutter
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 17, 2015

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
Answer accepted
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 17, 2015

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.

Sebastian Hutter
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 17, 2015

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

0 votes
Tristan February 1, 2018

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

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 3, 2018

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

0 votes
calo June 30, 2015

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?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 30, 2015

Use QR generating software

Suggest an answer

Log in or Sign up to answer