The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to make Sprint field not required for Kanban boards?

Flavio Beck
Contributor
August 22, 2018

I have a default workflow for bugs, applied for both Scrum and Kanban projects.

I need to set Sprint field as mandatory during a transition "to do".

 

for Scrum projects, its OK, but I need to skip this validation if the it is a kanban project.

Should be possible to have a script validation ?

eg.:

if issue.boardtype = kanban {

     setfieldrequired(Sprint).false

} else {

     setfieldrequired(Sprint).true

}

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Alexandra Smith
Contributor
September 10, 2018

If they are different projects what is the harm in having two workflows? Or is this a single project that is displayed on two boards?