Hi,
I have used below code to get issue count for jql in jira by using python program
resp_json = jira.search_issues(real_jql, fields="*all",\
expand=expand,\
json_result=True,\
startAt=start_idx,\
maxResults=incr_idx,
validate_query=True)
i could able to see there is no problem in connecting with jira also when i run the jql in jira manually i am getting the issue tickets. Only issue is the count is not returning from search issues. It always coming as 0.
Hi @Srimathi Kannan and welcome,
what is your jql? You need to put your jql in quotes example 'project=TEST'
Hope this helps,
Fabio
Hi Fabio,
Thanks for your response
we will first convert the jql from confluence page table to json format. so my jql will appear like given below
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
please could you try this parameter?
"component in subfolder(xxx, yyy) and type = bug and Status != Closed and \"Validation team\" is not EMPTY"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
"component in subfolder(xxx, yyy) and type = bug and Status != Closed and \"Validation team\" is not EMPTY" - if i give slashes \ i am getting error Fabio
with slashes we cannot able to retrieve from jira manually as well. it is showing invalid jql sign
as i said with my ticket number i am able to get response from jira
but for jql i am not getting the response. also confirmed no access issue for this jira connectivity.
could you please let me know is there any other method to solve this issue?
like instead of jira.search_issue what other methods can be used to retrieve the count by running the jql in jira
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.