Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events