Set isResolved to true for closed issues
This commit is contained in:
parent
f9d9019720
commit
cbc2a970be
1 changed files with 4 additions and 0 deletions
|
@ -87,5 +87,9 @@ func Ticket(ctx *context.APIContext) {
|
|||
return
|
||||
}
|
||||
|
||||
if issue.IsClosed {
|
||||
ticket.IsResolved = true
|
||||
}
|
||||
|
||||
response(ctx, ticket)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue