Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • I can't find a method in the API allowing me to pass the actual content of the attachments to JIRA

Hide right panel in issue view

Jason Burdey
Contributor
October 7, 2020

Is it possible to hide and/or shrink the right panel when viewing an issue in issue view? Sometimes I just want to focus on the description and the issue but the right panel is taking up alot of room (1/3 of the page width)

3 answers

1 accepted

1 vote
Answer accepted
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
April 28, 2013

Check out the AttachmentManager. The various createAttachment methods give you different options.

0 votes
David Lemon
Contributor
April 28, 2013

agree with @jobin! well createAttachment() in ComponentAccessor.getAttachmentManager can help you out for your problem!

and using some java Filehandeling.

0 votes
Timothy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
April 28, 2013

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.

Suggest an answer

Log in or Sign up to answer