Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.
×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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.