Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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

Transition validator is not applied

Alright, so I have this Jira project, which started off with all workflows, screens, etc being shared with other project. I'm now trying to do some customization on this project, in particular, requiring a field to be set before setting tickets to Resolved.

I started with the first ticket type, User Story.

  • Copied the generic User Story Workflow into "P User Story Workflow"
  • Edited the "P User Story Workflow", clicking on the Transition to Resolved
  • "Edit draft", added a Validator (Simple Scripted Validator) with a script of just "!issue.components.isEmpty(), with an error message, and a field selected.
  • Saved the validator
  • Copied the generic workflow screen to "P Workflow Screen", added the field in question to this screen, and configured the transition to use this workflow screen.
  • Published the workflow
  • Duplicated the generic Workflow Scheme to "P Workflow Scheme"
  • Assigned the "P User Story Workflow" to ticket type User Story, everything works just fine! Especially, the Validator shows as having been run and succeeded or failed. Also tried logging in there, which worked fine as well.

Now I tried to do the same thing for the next ticket type, Defect.

  • Copied the generic Defect Workflow into "P Defect Workflow"
  • Edited the "P Defect Workflow", clicking on the Transition to Resolved
  • "Edit draft", added a Validator, same as before, saved the validator
  • Configured the transition to use the "P Workflow Screen", created before
  • Published the workflow
  • Assigned the "P Defect Workflow" to issue type Defect in the previously created "P Workflow Scheme"

Alas, this doesn't yield the expected result. The transition screen on a test ticket does show the added field, but the validator is not run. What am I missing?

 

1 answer

Hi @Stefan.Moebius you obviously know how to set it up (good job), so it must be some stupid small mistake :) Can you share some screenshots. More eyes see more :)

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

ThinkTilt is joining the Atlassian Family!

This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...

430 views 19 23
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