Before creating an issue I need to see if there's an issue with similar summary(name) and active and only create if there's none and append it to the existing issue if there's one already.
1.I want to send summary as a variable
p_summary="XYZ.dtsx
jira.search_issues('project=DI and summary~p_summary and status="To Do"', maxResults=5)
Ticket_id=issue.key
print(Ticket_id)
2.when there's no matching issue it doesn't result anything for the below.How do I handle it.
Ticket_id=issue.key
print(Ticket_id)
Thanks @Thomas Schlegel but I wanna pass it as variable .Is there a way?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK, you didn't mention that in your first post before editing it. I'm not experienced in using the Jira programming interface, I'm sorry.
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.