We are trying to integrate JIRA With SysAid.
When I looked into the API, I could only find one method called "setAttachmentsName(String[] names)", which I assume allow me to pass the attachments names I want to send to JIRA.
The issue is that I can't find a method in the API allowing me to pass the actual content of the attachments to JIRA.
Thansk
Swaroop
Check out the AttachmentManager. The various createAttachment methods give you different options.
agree with @jobin! well createAttachment() in ComponentAccessor.getAttachmentManager can help you out for your problem!
and using some java Filehandeling.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Some of the code is in the class files, some of the code is in the Javascripts. You should inspect the source code when you're trying to attach files to JIRA.
You basically need to replicate the attachment form and grab the proper form parameters in your class file.
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.