Working code in python script which is working correctly
for i in jira.search_issues('filter=46940', startAt=0, maxResults=1000):
But changed code is,
reportId = "46940"
for i in jira.search_issues('filter=reportId', startAt=0, maxResults=1000):
Error I get: " response text = {"errorMessages":["The value 'reportId' does not exist for the field 'filter'."],"errors":{}}"
Reason to make this change - I plan to use same code for multiple projects and query. Therefore, I am working on making this query generic and avoid any hard coding.
Can anybody help please?
Hello,
That specific error indicates that your REST call has not created a session yet. This is covered in more detail int the KB article:
Please check this out and I hope this helps,
Earl
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.