如何在JIRA PYTHON中使用move_version

时间:2018-10-05 13:12:53

标签: jira-rest-api python-jira

我正在尝试使用JIRA Python中的 move_version()函数发布版本。但是我想知道该函数中每个参数的含义或用法。

def move_version(self, id, after=None, position=None):
    """Move a version within a project's ordered version list and return a new version Resource for it.

    One, but not both, of ``after`` and ``position`` must be specified.

    :param id: ID of the version to move
    :param after: the self attribute of a version to place the specified version after (that is, higher in the list)
    :param position: the absolute position to move this version to: must be one of ``First``, ``Last``,
        ``Earlier``, or ``Later``

此函数的确切用途是什么,after和position参数是什么意思。

0 个答案:

没有答案