Native YAML - web_infrastructure/jira.py (#18832)

This commit is contained in:
Fabio Alessandro Locati 2016-12-09 13:48:59 +00:00 committed by John R Barker
parent 21940f8c8e
commit b811350f00

View file

@ -199,11 +199,17 @@ EXAMPLES = """
become: true
user:
name: '{{ issue.meta.fields.creator.name }}'
comment: '{{issue.meta.fields.creator.displayName }}'
comment: '{{ issue.meta.fields.creator.displayName }}'
- name: Create link from HSP-1 to MKY-1
jira: uri={{server}} username={{user}} password={{pass}} operation=link
linktype=Relate inwardissue=HSP-1 outwardissue=MKY-1
jira:
uri: '{{ server }}'
username: '{{ user }}'
password: '{{ pass }}'
operation: link
linktype: Relate
inwardissue: HSP-1
outwardissue: MKY-1
# Transition an issue by target status
- name: Close the issue