Hi,
I've been using JQL to help automate the closing of issues if they reach a certain age without being updated.
What I've been doing is this:
project in ("this is a project") AND status = open AND updatedDate < -11d AND (labels != Pending_Close OR labels is EMPTY)
I have the automation plugin to leave a comment on the issue saying something like "This hasn't been updated in a while, if its still an issue let us know or else itll be closed". This works fine, every issue that is expected to have the comment receives a comment. I then try to use the "Edit Labels Action" to add the "Pending_Close" label onto it. This does not work. I can assign the label manually but for some reason the label is not assigned.
In the end I have a second rule that looks for anything that has been "Pending_Close" for 2 days and transitions them to close. This should work, but I haven't been able to test because the labels are never set.
Has anyone found a work-around for this? Or potentially could suggest another solution?
thanks
Community moderators have prevented the ability to post new answers.
Hi Nick,
Labels field is not possible to update via Automation as there are only limited options on Edit Issue action. So, I've created a feature request to include all the fields configure in Screen for "Edit Issue" action: https://jira.atlassian.com/browse/JSD-4258
Please vote the suggestion to increase its popularity as per our New Features Policy if you are interested in seeing that implemented and add it to your watchlist for future updates. You could also comment on the ticket to notify our Dev team on your current situation.
Regards,
Ting
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.