Im trying to create a issue using jira module in ansible tower and it is not accepting token as a parameter,
{ "_ansible_no_log": false, "invocation": { "module_args": { "project": "***", "token": "***", "description": "This sub-task is responsible for system updates on all VMs.", "issuetype": "Task", "operation": "create", "uri": "***", "summary": OS patching[Q1-Q2 2023]" } }, "changed": false, "msg": "Unsupported parameters for (jira) module: token Supported parameters include: assignee, comment, description, fields, inwardissue, issue, issuetype, linktype, operation, outwardissue, password, project, status, summary, timeout, uri, username, validate_certs"
When I pass username and password it still throws me 401,
"msg": "HTTP Error 401: "
When I run the same playbook from my machine through ansible-playbook it works fine
Got the solution. I updated the collections(community.general) in my ansible tower . It worked. Posting the solution for others to know,
https://docs.ansible.com/ansible-tower/latest/html/userguide/projects.html#collections-support
Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.
Register today!Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.