Please may I get some assistance.
I am able to add attachments to issues from mail items using the following call:
messageHandlerContext.createAttachment(fileToAttach, fileName, attachment.getContentType(), user, mutableIssue);
However I cannot workout how to update the Issue's change history if the mail item is a response with an attachment added.
Read this link carefully, it gives you the answer
you should call this
inorder to change the history of the issue.
I found the below just before I went to lunch:
and with a little reading I found that exact call.
But as you have provided the answer I shall mark this as such.
Thank you for your time.
When you create a issue , then no entry gets created in issue history .
but if you update any field through post-function , then the entry goes into the issue while creating it.
After creation of issue only , any updation to issue have their entry in the history.so , attachment will not be reflected in the history.
Since , you are creating the issue through mail no updation will be reflected in history
Good day members, Not sure if you are aware that Atlassian will be hosting a Government Symposium on May 1st, 2019 in Washington DC. For more details please click here If you have any questions...
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