I have set up a post function that generates an xporter document and then attaches it to the issue at the transition. Also in the post function, I have a Send Custom email (after the xporter function) that will send an email with all the attachments (including the one just added by xporter). I find that all the other attachments are being sent with the email except the xporter document. The document is attached to the issue but not included in the custom email.
Using JIRA 6.4.10 and latest Xporter and Script Runner add ons.
Has anyone else experienced this type of problem?
Hi Liesa,
Could you please post the code for the post function as well as the version of the Script Runner and Exporter plugin that you are using so that we can try to replicate your issue.
Many Thanks
Kristian
I used the standard items.
The generation of the document is first. The sending of the custom email is last.
The items in order are:
The email is sent but the xporter attachment is not with the email. Only attachments added before this transition. The condition on the email is that the issue status is equal to that of the transition.
I am running Script Runner 3.1.4 and Xporter 3.4.6
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Liesa,
In order to be able to replicate this. I will need the code and configuration for the script workflow function inside step 7 and the configuration for the template used to create the file in step 4.
Please can you screenshot how you have configured each post function.
Can you please provide this information if you require further assistance.
Thanks
Kristian
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Liesa,
I notice from the screenshots that you have slected the All attachments checkbox which will ignore the code below.
Also with the post functions for creating the pdf and sending the email these should be the first to in the list.
Could you please try re ordering the list of post functions so that it is as shown below and see if it makes a difference.
Thanks
Kristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Liesa and Kristian.
I'm running into the identical problem as what's posted here. This post is four years old and the screenshots aren't showing up. How was this solved?
Thanks,
Jordan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.