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

Unrequire Fields Based on Resolution Type

Currently, a workflow is set to require three fields when a ticket is closed.

However, if a ticket is closed for reason "Duplicate" we do not want these fields to be required.

 

How can I set this up?

1 answer

1 accepted

0 votes
Answer accepted

How do you require the fields? Through the Field Configuration Scheme or the workflow validators? If it's through the workflow, I'm assuming you use the Validator.

The 3 fields make this difficult. If it was only one, you could add a condition with the Value Field (assuming you have JSU), setting the Resolution = Duplicate, and having that be one condition. You could then add another condition for value field, setting it to be not empty, effectively requiring it. You would then set the Workflow to go with "Any of the following Conditions" instead of All, and remove the validator. Since there are 3 fields, this would require any of the 4 conditions, and would only make one required. 

 

The easiest way I can see would be to add a separate transition to Closed. You can name it "Duplicate", and it would show up as a separate button next to Close. This Duplicate transition would not have the workflow validator that requires the fields. You could even add a validator that sets the resolution to duplicate. 

Hello Devin,

We are using workflow validators.

I will try your suggestion adding a seperate transition, although this isn't the perfect solution.

Thank you though! 

Suggest an answer

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

Bitbucket Smart Commits vs. Genius Commits - What's the difference?

If you already heard about Smart Commits in Bitbucket, know that you just stumbled upon something even better (and smarter!): Genius Commits by Better DevOps Automation for Jira Data Center (+ Server...

114 views 0 2
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