We have a common workflow that is shared by many development teams. When the story is completed and pushed to the "ready for release" status, developers are supposed to fill in a "deployment instructions" field, but they aren't doing it consistently on my team. I've created a screen that has a required field for deployment instructions. However, I don't want this to affect ALL teams, I only want it to affect mine. There is a custom dropdown field on all story screens called "Team"; if my team is selected, I want that popup to show.
Is this possible? We do have ScriptRunner; I'm wondering if it might be done with that.
The answer for people with no ScriptRunner is "create separate workflows"
SR people have another option - parallel transitions. Have two transitions that go from one place to another, with similar names. One should have the screen, the other should not. You then place a scripted condition on each - one that says "when team = x" and the other says "when team != x". Mutually exclusive, so the users only ever see one of the two.
This still works as it has before, but I think you are a bit confused about what is happening here.
You are talking about the screen and validator. The conversation is about conditions which act before you get to the transition, preventing the transition from being offered to the user at all.
No, you have one transition, a screen and a validator there, not a condition.
The solution I gave is two transitions, one screen and two conditions (that are mutually exclusive, so only one transition is ever offered to the users)
A condition stops a transition being shown to a user, a validator stops it after they start the transition, so the fact you can get to your screen tells me you are using a validator. A condition would have meant you can't even get to the screen.
I finally realized what I did wrong. I was trying to validate that my custom field was filled with a selection and not "None" however I was using issueManager which was checking the database that hadn't been updated yet. This link explains how to fix the issue. Commenting for anyone that might run across the same problem.
Introducing Jira Cloud for Excel Here at the product integrations team at Atlassian, we are thrilled to announce the new Jira Cloud for Excel add-in! This add-in lets you export Jira data directly ...
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