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?
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
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.
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.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Confluence Data Center is a deployment option that was designed for performance at scale. In other words, Confluence will handle increased traffic much reliably in a clustered environment and yo...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs