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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 Marketplace Apps & Integrations

New Cloud Apps Roundup - Spring 2021

Atlassian's marketplace partners have had a very productive start to 2021! Since our last roundup, our developer community has added over 160 new cloud apps to the Atlassian Marketplace to help you...

84 views 1 12
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