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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.