1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

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