I have one requirement to close all the unclosed tickets under one project. After checking JIRA API document, I found that I can use below API to implement this request.
This solution works fine for most of the cases. But when it came to sub-task ticket, it didn't work fine.
Suppose I have a `Resolved` sub-task ticket and call above API, I will get `Reopen Issue` transition back. Below is a sample response. It doesn't return `Close Issue` transition back like other Issue Type `Bug` or `Support Request` does.
"name": "Reopen Issue",
If then, how can I close the sub-task JIRA ticket? Can someone give me some suggestion? Thanks a lot!
I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events