在JIRA中启用Perforce作业集成

时间:2016-07-08 17:07:06

标签: task jira jira-plugin perforce-integrate

我尝试在JIRA中启用Perforce作业集成,我在Jobspec填写了所有已更改Perforce的字段。

com.perforce.api.CommitException java.io.IOException: error: Error in job specification.error: Error detected at line 8.error: Syntax error in 'jobs'.

1 个答案:

答案 0 :(得分:0)

我不确定你打算做什么,因为你没有工作规格文件+这个问题在这里悬挂了一段时间...

以下是我使用并为我工作的规范文件:

# A Perforce Spec Specification.
#
#  Updating this form can be dangerous!
#  To update the job spec, see 'p4 help jobspec' for proper directions.
#  Otherwise, see 'p4 help spec'.

Fields:
    101 Job word 32 required
    102 Status select 10 required
    103 User word 32 required
    104 Date date 20 always
    105 Description text 0 required
    110 IssueStatus line 32 optional
    111 URL line 60 optional
    112 Assignee word 32 optional
    113 Project word 32 optional
    114 Priority line 32 optional
    115 Type line 32 optional

Values:
    Status open/suspended/closed

Presets:
    Status open
    User $user
    Date $now
    Description $blank

Comments:
    # A Perforce Job Specification.
    #
    #  Job:         The job name.  'new' generates a sequenced job number.
    #  Status:      Either 'open', 'closed', or 'suspended'. Can be changed.
    #  User:        The user who created the job. Can be changed.
    #  Date:        The date this specification was last modified.
    #  Description: Comments about the job.  Required.

请注意,为了整合而添加的所有字段都是可选(如果我没记错的话,建议它为" 必需&# 34;但是可选项适用于我并将它们设置为可选...)