I am using jira-python module and getting TCs list from jira. Now After execution I want to mark TCs execution status as fail or pass.How can I achieve this?
my code:
jserver = {'server':server}
j = JIRA(options=jserver,basic_auth=(username,password))
total = 5000
end = 0
c=[]
while end <= 5000 :
issues_in_proj = j.search_issues('project=TC',startAt=end,maxResults=1000)
print len(issues_in_proj)
for ticket in issues_in_proj:
issue = j.issue(ticket)
labels = issue.fields.labels
def MarkTcExecutionState(testkey):
NO Idea which method to use, tried to use transition but it changes issue transition state and not execution state