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

Print attachment during workflow transition

I was wondering if there was anyway that when the workflow transition button is clicked that a post function can happen where it prints an attachment linked to that issue?

2 answers

1 accepted

0 votes
Answer accepted

You have the right idea, but you will need to find or write code to provide that post-function.

I did exactly that many years ago, when rigging up JIRA as an inventory management system - a transition for "label item" caused the label printer to spit out something to stick to the items.

I see that you're with Adaptavist. That is Script Runner correct? Is Script Runner capable of doing something like that? We are using the Cloud version of Jira as well so could the cloud version of Script Runner specifically do this? I know what the basic idea of Script Runner is but not knowing how to use any coding languages I've never taken a deeper look at it. 

@Nic Brough _Adaptavist_ I am having the same use case for building an inventory management system.  On a particular transition I would like to print a specific field as a label which can be put on the physical parts. It would be really helpful if you can detail on how do I proceed with this in scriptrunner.

Steven Behnke Community Leader Jul 01, 2018

@keval.doshi it'd be best if you opened a new question, tagged it Scriptrunner, and described your use-case in depth. Do you want it to just open the 'Print File' screen? Do you want it to send a pre-designed template to a network printer? There's a lot of questions to ask.

thanks for mentioning that. I have asked it as a separate question.

0 votes
Steven Behnke Community Leader Apr 06, 2017

The 'easiest way' (not very easy to be honest) would be to use javascript to render a page as-if the user had clicked a "print this page" link.

Suggest an answer

Log in or Sign up to answer

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