Show transition screen *conditionally* based on field value in issue

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.

1 answer

1 accepted

This widget could not be displayed.

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.

Brilliant!  Thank you Nic!

Ivan Tovbin Community Champion Dec 09, 2017

Is it just me or you can achieve this even without any add-ons? Create two transitions with similar names and use "User is in group" or "User in is project role" condition which is available out of the box?

It depends on the condition needed.  In the question, the condition outlined is not one you can do with "plain" Jira off-the-shelf.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 06, 2018 in Jira Service Desk

A is for Activate: Share your top Jira Service Desk onboarding tips for new users!

Hi, everyone! Molly here from the Jira Service Desk Product Marketing Team :).  In the spirit of this month's  august-challenge, we're sourcing stories of Jira Service Desk activation fro...

564 views 25 15
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you