We receive feedback from our customers which are created as tickets in Jira. I want to automatically close those tickets where feedback is good and dont need any further action. How can I achieve this ?
Modify your workflow to create a new transition to close issues and set that this transition can only be executed by a user "jiraservice".
Then activate Jelly and create a jelly script to search all issues matching your criteria (rating = excelent and status != closed), and execute that transition against the search result.
--> https://confluence.atlassian.com/display/JIRA/Jelly+Tags#JellyTags-Samplescripts
Set up your workflow to allow the closing.
Then, use a listener to listen for whatever change it is you want to trigger the close.
(I can't tell you much more than that, it's not clear exactly what your trigger is here)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, create a listener that listens for the "create" event, or use a post-function that can trigger it - both should have code that says "if rating == excellent, issue the close tranition"
The easiest way to do this is probably to use "fast track transition" which you can find in the "Script Runner" addon. See https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts#Built-InScripts-Fast-tracktransitionanissue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good feedback is when the field rating is 'excellent'. When a ticket is opened in Jira where the field = 'excellent' the issue should be automatically closed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ruban,
Could you elaborate a bit more on the criteria here? What is a good feedback? Is it when certain fields are filled in? If that is the case you can have a "fast-track" post-function that closes the ticket when the appropriate fields are updated.
Cheers,
// Svante
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.