2016-07-08 23 views
0

我試過在JIRA中啓用Perforce作業集成,我填寫了所有也在Perforce中更改了Jobspec的字段。在JIRA中啓用Perforce作業集成

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

回答

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. 

注意,所有加入爲一體的字段的工作是可選(如果我沒記錯的推薦它爲「要求」,但可選的工作對我來說,並設置它們可選...)