Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Post function to print barcode of a custom field onto the network printer

Hello everyone,


I am building an inventory management system in JIRA. To automate a few processes and to avoid manual errors we use barcodes. Now, we need an option to generate a barcode based on a custom field value and send that barcode for a print on the network printer using a post function call with Scriptrunner. 


Please let me know how do I go about doing this.



1 answer

0 votes

Interesting use case!

You can definitely implement it based on this idea:

  1. Use the barcode feature of the Better PDF Exporter app. Basically, if you don't want anything else, but the barcode itself, create a PDF template that contains nothing else, but the barcode. The app allows encoding any information, including custom field values, in the barcodes! See this tutorial.
    1. Extra hint: you can customize your template from the default issue-fo.vm by dropping all fields and turning the QR code to the barcode you need. (See the screenshot at the bottom.)
  2. Then implement the post function in ScriptRunner which renders the PDF with the barcode. It is also simple, see this second tutorial.
  3. Now you have the PDF document in the Groovy script, triggered by the post function. You will send that to the print. I don't actually know how to do this, but I guess it would copying the bytes to some source that is consumed by the printer.


@Aron Gombas _Midori_ thanks for such an elaborate suggestion. I would definitely try this and let you know how it goes.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Staying organized with Jira: best practices for a better project management

Project managers know this problem: A “mountain of work” lays in front of you, and you don’t know how and where to tackle them. Different to-dos lie ahead, but just one task after the other can be ha...

223 views 2 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you