Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

how to write a listener for the below explained query

The ticket should automatically move to status "Resolved" with Resolution "Fixed"

  • check how the fixed in build id correct.

1 answer

0 votes

What are you planning to write the listener in?  Your own app, an automation, one of the scripting apps?

You'll also need to come up with logic that can validate that sentence fragment - it's not a query we can code for because it is missing all the context and how you would know something is "correct"

Hi Nic,

I want to to write a groovy script using Listener in such a way that The ticket should automatically move to status "Resolved" while the Resolution field is "Fixed".

There are a number of scripts you can learn from over at https://library.adaptavist.com/search?term=transition

However, your definition implies you have a problem with your process.  Resolution is a field that should be set during a transition, either by asking the user with a screen, or setting it with a post-function.

It is NOT a field your humans or automations should ever be setting in an issue create or edit action.  So your listener should never have any chance to fire.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

151 views 2 13
Read article

Community Events

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

Events near you