Custom search based on updated


This is my scenario.

I have two steps 'A' and 'B' in my workflow and two transitions 'A to B' and 'B to A'. I started in A and go to B.

When I stay in B, I want that if anybody comment issue, go automatic to step 'A'. I read and I know this possible with Jelly Service and with Saved Filter but I don't know how. I think that to make a saved filter that check last comment author (I want to check if some user comment) but this is not possible, so I think to check with updated time.

The problem is that when I go to antoher transition, the updated time refresh and I can't to compare in saved filter with option 'last update by more than..' and 'last update within...'.

The only that I want is: how I do a saved filter that return issues that are status 'B' and someone have comented in this status?


1 answer

1 accepted

I would suggest you cannot solve this with standard JQL functions.

You cannot get the last transition time seperated from the last comment time.

Maybe there is a plugin, that extends the JQL with a function that gets the last transition time, but i don't know.

What about creating a transition back from B to A which is called something like "answer" or "comment", that shows a mask with the comment field on it?

Well your solution it's OK but I want to apply this scenario to my customers/clients, so it's more practical to comment directly and not to push 'answer' or 'comment' because it's my client forget to push button and comment, the issue doesn't pass to the another step... do you understand me?

Yes I get this.

Maybe think about an Event Listener, that reacts on the comment event and that only aplies to comment events of issues in a given state. This listener then should transition the issue from B to A.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,980 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot