From 54035d5c59ebf203a875f79da53c10407474ef26 Mon Sep 17 00:00:00 2001 From: Slezhuk Yevgeniy Date: Mon, 7 Aug 2017 11:34:35 +0300 Subject: [PATCH] Fix documentation issue in jira module (#27820) (#27823) Fixes #27820 --- lib/ansible/modules/web_infrastructure/jira.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/ansible/modules/web_infrastructure/jira.py b/lib/ansible/modules/web_infrastructure/jira.py index 85e98cedcf..17f5ef02ba 100644 --- a/lib/ansible/modules/web_infrastructure/jira.py +++ b/lib/ansible/modules/web_infrastructure/jira.py @@ -31,7 +31,7 @@ options: operation: required: true aliases: [ command ] - choices: [ create, comment, edit, fetch, transition ] + choices: [ create, comment, edit, fetch, transition , link ] description: - The operation to perform. @@ -201,13 +201,15 @@ EXAMPLES = """ name: '{{ issue.meta.fields.creator.name }}' comment: '{{ issue.meta.fields.creator.displayName }}' +# You can get list of valid linktypes at /rest/api/2/issueLinkType +# url of your jira installation. - name: Create link from HSP-1 to MKY-1 jira: uri: '{{ server }}' username: '{{ user }}' password: '{{ pass }}' operation: link - linktype: Relate + linktype: Relates inwardissue: HSP-1 outwardissue: MKY-1