Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira module not supporting token

Vysh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 2, 2023

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

2 answers

1 accepted

0 votes
Answer accepted
Vysh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 3, 2023

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

0 votes
German March 2, 2023

I'll try to look this and test.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

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!
AUG Leaders

Atlassian Community Events