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.
Still thinking about joining us for Team '25 Europe? Early bird has been extended for just one week! Now’s the time to lock in your lowest rate. Use code TEU25COMM-20 to save 20% at checkout. Hurry, this only lasts for 1 more week.
Learn more
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.