transition current condition based on cascade field child value

Only want to transition current issue when child of cascade custom field equal to a specific value

2 answers

1 accepted

Hi Nic

The latest version of ME has introducPed a post function to Transition the current issue.  This works fine and if I use a JUL script as a Condition on the transition from a user perspective it works as I want.  However it does log as a fault. I was hoping to  use the groovy script condition of MWE to stop the fault reporting.

The problem I have with Script Runner is that while it performs the transition it does not update the status on the view screen unless I manually refresh the screen.




0 vote

I'm afraid there's a couple of answers to this because the question is a little unclear.

Assumption 1 - you only want to allow a transition - you'll need to find/write a condition that can interrogate the current value of the field and return a yes or no back to the workflow.  If you do that, the transition you put the condition on will not be offered to the user unless the field is set correctly.  

Assumption 2 - you want to pick up changes of the field to the value and transition the issue automatically - you'll need to find/write a listener that can pick up issue edits, check the field has been changed to that specific value, and issue the transition if required.

For what it's worth, I don't think the JMWE can do either of these.  Script-runner can though.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

772 views 2 19
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