Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/python/359.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/mongodb/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 在字段名后搜索customfield_Python_Jira - Fatal编程技术网

Python 在字段名后搜索customfield

Python 在字段名后搜索customfield,python,jira,Python,Jira,我想在字段名后搜索customfield及其ID。 在Jira中,可以有一些自定义字段,每个字段都有一个名称,这在日志文件中是看不到的。 例如,我有一个名称:Markets,我想搜索哪个customfield(customfield_uuxxxxx)引用了这个名称 谢谢你的回答!:) 查找自定义字段id并将其与您可以使用的自定义字段名匹配。它返回所有自定义字段和系统字段(自定义字段可由“custom”属性识别)。来自端点的响应示例如下: [ { "id": "description"

我想在字段名后搜索customfield及其ID。 在Jira中,可以有一些自定义字段,每个字段都有一个名称,这在日志文件中是看不到的。 例如,我有一个名称:Markets,我想搜索哪个customfield(customfield_uuxxxxx)引用了这个名称


谢谢你的回答!:)

查找自定义字段id并将其与您可以使用的自定义字段名匹配。它返回所有自定义字段和系统字段(自定义字段可由“custom”属性识别)。来自端点的响应示例如下:

[
  {
    "id": "description",
    "name": "Description",
    "custom": false,
    "orderable": true,
    "navigable": true,
    "searchable": true,
    "clauseNames": [
      "description"
    ],
    "schema": {
      "type": "string",
      "system": "description"
    }
  },
  {
    "id": "summary",
    "key": "summary",
    "name": "Summary",
    "custom": false,
    "orderable": true,
    "navigable": true,
    "searchable": true,
    "clauseNames": [
      "summary"
    ],
    "schema": {
      "type": "string",
      "system": "summary"
    }
  }
]

转到自定义字段屏幕。然后转到市场自定义字段并单击右侧的配置选项。您将导航到具有此类url的屏幕

http://localhost:8080/jira/secure/admin/ConfigureCustomField!default.jspa?customFieldId=10406

在本例中,自定义字段id是
customfield_10406

发布一个示例文件,您尝试了什么..您尝试过使用正则表达式吗?我没有尝试,因为我还是Python新手。。。