Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflows failing with "The issue type selected is invalid" #53

Open
cgaudette opened this issue Apr 11, 2023 · 3 comments
Open

Workflows failing with "The issue type selected is invalid" #53

cgaudette opened this issue Apr 11, 2023 · 3 comments

Comments

@cgaudette
Copy link

I am filing this on behalf of my customer @Shweta4398 who has successfully set up a workflow with this Action. Every time they run the workflow, it fails with the same error text: The issue type selected is invalid.

Here is the Action they provided:

image

If there is no issue type, the error occurs, or if they add an issue type, same error. jira_issue_type does not appear to be a criteria you can populate with this Action.

Looking at a portion of the logs, it appears that somewhere along the way, the rest/api path is picked up and the Action seems to identify this as an issue type:

jira.exceptions.JIRAError: JiraError HTTP 400 url: https://appdirect.jira.com/rest/api/2/issue
	text: The issue type selected is invalid.
	
	response headers = {'Date': 'Mon, 10 Apr 2023 06:09:59 GMT', 'Content-Type': 'application/json;charset=UTF-8', 'Server': 'AtlassianEdge', 'Timing-Allow-Origin': '*', 'X-Arequestid': 'e3f409a204a7400ac8bb8f63346850f5', 'X-Aaccountid': '628dac6ff2261e00682a1d81', 'Cache-Control': 'no-cache, no-store, no-transform', 'X-Content-Type-Options': 'nosniff', 'X-Xss-Protection': '1; mode=block', 'Atl-Traceid': '8a5f7da3d11568d8', 'Report-To': '{"endpoints": [{"url": "https://dz8aopenkvv6s.cloudfront.net"}], "group": "endpoint-1", "include_subdomains": true, "max_age": 600}', 'Nel': '{"failure_fraction": 0.001, "include_subdomains": true, "max_age": 600, "report_to": "endpoint-1"}', 'Strict-Transport-Security': 'max-age=63072000; includeSubDomains; preload', 'Transfer-Encoding': 'chunked'}
	response text = {"errorMessages":[],"errors":{"issuetype":"The issue type selected is invalid."}}
Error: Process completed with exit code 1.

Logs:

1_Set up job.txt
2_Sync CodeQL alerts to Jira issues.txt
4_Complete job.txt

@Shweta4398
Copy link

Team,

Yes the above issue seems to be still persisting , Can you guide me on the above errors???

Thanks,
Shweta.

@Shweta4398
Copy link

Hello team ,

Can you add jira_issue_type to the workflow?? So that I would be able to execute the workflow!!

Thanks,
Shweta.

@Tavisca-ayal-gul
Copy link

This issue is occuring for me as well. is jira_issue_type the correct field used or do we use another field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants