页面树结构

版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

JIRA允许你为问题上传附件。

信息

如果要上传附件, 你的JIRA管理员必须开启 JIRA管理员必须开启 附件(链接到Atlassian网站)功能。你也需要有指定项目的 '上传附件' 权限(链接到Atlassian网站)

在这个页面:

目录

为问题上传附件

要为JIRA问题上传附件:

  1. 打开你需要上传附件的JIRA问题
  2. 在*更多操作* 菜单中, 选择 '上传附件'
  3. '上传附件' 对话框就会出现:
  4. 点击 '浏览' 按钮查找需要上传的文件。
    信息
    • 你可以一次上传多个附件: 一旦你选择了一个文件, 文件名会显示在 上传附件 对话框上方, 然后通过 浏览 按钮上传其他附件。
    • 如果你选错了附件, 取消对话框上方文件名前面的对勾。
    • 默认情况下, 每个上传文件的大小限制在10MB以内, 当然那JIRA管理员可以改变文件大小的限制。查看 开启附件(链接到Atlassian网站)了解具体设置。
    • 文件名不能包括以下字符: '\', '/','\"', '%', ':', '$', '?', '*'
  5. 你可以为附件输入一些补充说明。
    (信息) 如果你输入了备注, 你就可以通过点击锁图标,选择这个备注可以让哪些用户查看。 默认地,备注可以被 '所有用户'查看。
  6. 点击 '上传' 按钮

...

默认情况下, JIRA会在查看问题页面显示上传的图像文件 (如 GIFs, JPGs, PNGs), 包括问题的任何 截图 的'缩略图'。

截图: 查看上传到问题的图像

(信息) 如果JIRA管理员在JIRA中禁止了附件(链接到Atlassian网站)中的缩率图功能,就不会显示图像缩略图,图像文件只会显示在附件列表中。

你可以点击图像缩略图在弹出框中预览大图。 如果为问题上传了多个图像文件, 点击预览图像的左侧或右侧查看上一张或下一张图片。

截图: 预览上传的图片文件

附件排序

You can sort the list of attachments on JIRA issues in ascending or descending order according to the attachment file name or date of attachment to the issue. To do this:

你可以为问题中的附件按照名称或日期:

  1. 打开有附件的JIRA问题。
  2. 点击 附件 部分右侧的下箭头并选择排序规则。
    Image Added
    (信息) 你选择的排序规则也会影响图像缩略图的显示顺序。
  3. Open a JIRA issue with attachments.
  4. Click the down-arrow icon to the right of the Attachments section and select the required sort criteria or order options provided in the list.
    Image Removed
    (信息) Your final sort criteria and order options will also apply to image thumbnails and all subsequent issues viewed.

accesszipfilecontents
accesszipfilecontents

Accessing ZIP-format File Contents

查看ZIP-格式文件内容

当查看一个问题时, JIRA允许你浏览ZIP格式附件的内容 (例如 When viewing an issue, JIRA allows you to browse and access the contents of any ZIP-format file (such as those with a '.zip' or '.jar' file name extension) attached to an issue.

To browse the contents of a zipped attachment and access its files:

  1. Open a JIRA issue with an attached zipped file.
  2. Click the right-arrow icon to the left of the zipped file's name.
    Image Removed
  3. The contents of the zipped file are listed. From this expanded list, you can access the zipped file's individual files by clicking their linked names or you can download the whole zipped file in its entirety by clicking the Download Zip link.
    Image Removed
    (信息) If a file is located within a subdirectory of the zipped file, then the path to that file is indicated in the content of the zipped file. For example, the content of Files.zip listed in the screenshot above shows that File 5.txt is located within the Folder 1 subdirectory of Files.zip.

后缀的附件) 。

要浏览压缩文件的内容:

  1. 打开有压缩文件的JIRA问题。
  2. 点击压缩文件名称左侧的下箭头。
    Image Added
  3. 压缩文件的内容就会列示出来。从展开的列表中, 你可以点击压缩文件中的指定文件名称打开它或点击 下载压缩文件 链接下载整个压缩包。
    Image Added
    (信息) 如果一个文件在压缩包中的子目录中, 会在压缩文件中标识出来。 例如, 上面截图中*Files.zip*中的文件列表中 File 5.txt 位于文件夹 Folder 1 中。

(信息) 如果JIRA管理员在 附件设置中禁止了 *允许压缩文件*选项,则查看压缩文件的功能就不允许使用,你必须下载整个压缩文件包才能查看压缩文件的内容。 (信息) If your JIRA administrator has disabled ZIP support in JIRA's Attachment Settings, then this feature will not be available and you must download the zip file to your computer before accessing its individual files.

downloadallattachmentsasazip
downloadallattachmentsasazip

Exporting All Attachments as a ZIP File

To download all the files attached to an issue (including any screenshots) as a single ZIP file:

  1. Open the JIRA issue from which you wish to export all attachments as a zip file.
  2. Click the down-arrow icon to the right of the Attachments section and select 'Download All' from the dropdown menu.
    Image Removed

Removing a File Attachment from an Issue

To remove a file attachment from a JIRA issue:

将问题的所有附件压缩下载

要将问题的所有附件(包括 截图 )压缩下载:

  1. 打开要下载附件的JIRA问题。
  2. 点击 附件 部分右侧侧下箭头并选择 下载全部 菜单。
    Image Added

从问题中删除附件

要从一个JIRA问题中删除附件:

  1. 打开需要删除附件的JIRA 问题。
  2. 点击 附件 部分右侧的下箭头,并且选择 管理附件 菜单。
    Image Added
  3. '管理附件' 页面会显示出来:
    Image Added
  4. 找到需要删除的文件并点击 '删除附件' 图标
  5. Open the JIRA issue from which you wish to remove a file.
  6. Click the down-arrow icon to the right of the Attachments section and select 'Manage Attachments' from the dropdown menu.
    Image Removed
  7. The 'Manage Attachments' page will appear:
    Image Removed
  8. Locate the file you wish to delete and click the 'Delete Attachment' icon: