I'm looking to show a transition screen when a sub task is transitioned from x to y based upon parent issue type.
The requirements are :
You can't do this directly. Behaviours can do the show/hide, and require/optional, but the choice of whether to show a screen is out of your control, as is the display of parent issue.
But you can do those indirectly:
I've used below code in behavior for all sub-task transitions.
def parentIssueType = getFieldById("Parent Issue Type")?.formValue
def fieldToHideA = getFieldByName("Target Release")
def fieldToRequireB = getFieldByName("Target Release")
if ( parentIssueType=="Bug Sub-task" && issueContext.issueType.name == "Sub-task" )
the compiles without any error.
while the transition happening i'm not able to get the result as expected.
We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...
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