Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • Scriptrunner Workflow condition is not hiding the transition in issues when it computes to false

How to set default value for a mandatory custom field

Akshith Kumar
June 13, 2022

I want to set a default value for a mandatory custom field but it is showing as none

1 answer

0 votes
Justin Volden
December 6, 2017

Quick easy fix from closer reading of the examples.

 

I am declaring passesCondition as a Boolean in my code. It's a special variable in scriptrunner apparently and does not need to be declared. I removed the deceleration and all started working.

Suggest an answer

Log in or Sign up to answer