You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
Hello,
I have a transition to status CLOSED.
The transition screen has RESOLUTION field with three options to choose:
- obsolete
- finished
- declined
If the resolution chosen is "finished" and a custom filed FIELD-XYZ is empty, then the transition should stop.
How can I make it?
Regardas
Leo
You'll need to find an app that can provide a "validator" for that. Either one that codes for it directly or one of the scripting ones that can provide a place where you can write the code.
If you had Scriptrunner for example, then the code for a validator could be as simple as
def cf = ComponentAccessor.customFieldManager.getCustomFieldObjects(issue).findByName(customFieldName)
assert cf : "Could not find custom field with name $customFieldName"
if ( "finished".equals(issue.getResolution().getName()) and issue.getCustomfieldValue(cf) ) {assert cf : "field xyz needs to be filled if you resolve an issue as finished" }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.