jira res-api创建问题,说明中有项目符号列表

问题描述 投票:0回答:1

[嗨,我想用rest-api创建项目列表和其他格式的jira问题知道我正在测试此代码,但是它返回

{
"errorMessages": [],
"errors": {
    "description": "Operation value must be a string"
 }
}

身体看起来像这样

{
"fields": {
    "project": {
        "key": "DWH"
    },
    "issuetype": {
        "name": "Story"
    },
    "summary": "auto created datatask",

    "description":  "description":  ["Pro:<fil pro and activity number provided>.",
                    "Tablename:<fill table name>.",
                    "Table view:<fill table view name>.",
                    "endpoint:<fill knudepunkt>.",
                    "Task to do.",
                    "*Copy attached document to metadata/new folder.",
                    "* Run job to create the table.", 
                    "* Test the data in Production when ready.",
                    "* Create extra userstory"],

    "assignee": {
        "key": "bdmdwhdata",
        "name": "bdmdwhdata",
        "emailAddress": "[email protected]"
    },
    "labels": ["DATA"]


 }      
}

是否有可能在jira问题中从REST-API创建多行解密?>

我在说明中写了一行,它很好用。

[嗨,我想用rest-api创建项目列表和其他格式的jira问题,我知道我正在测试此代码,但是它返回{“ errorMessages”:[],“ errors”:{“ description”:“。 ..

jira-rest-api
1个回答
0
投票

要添加新行,请尝试在说明中使用\n。有关更多信息,请检查此documentation

© www.soinside.com 2019 - 2024. All rights reserved.