JIRA behaviours with custom workflow

Richard Jones August 3, 2015

Hi All

I have a custom epic workflow. I want to make a custom field mandatory on the RESOLVE screen. This woks for the non custom workflow but for the custom one it isnt working.

The xml I have in the script is:

<config use-validator-plugin="false" name="Release Note Custom EPIC" description="Release Note Custom EPIC" guideWorkflow="NP-EPIC">
<field id="customfield_10417" required="true" readonly="null" hidden="null">
<when action="341"/>
<when action="511"/>
</field>
</config>

where 341 and 511 are the ids in my workflow.

Can I use behaviours with a custom workflow? Or should I just add a validator to the transition to stop anyone leaving the screen without this information set?

 

Thanks

1 answer

0 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 3, 2015

Providing you've set this up correctlu, ie they are the correct workflow actions and you have mapped the behaviour to a project / issue type, the problem is more likely to be the field type or something. 

Because there's no such thing as a custom workflow, any editable workflow is by definition custom, and they all should work fine.

What type of field is customfield_10417?


 



Richard Jones August 5, 2015

Hi @Jamie Echlin (Adaptavist) It is a "Text Field (multi-line)" type. I havent specified a type anywhere. Should I? Thanks

Suggest an answer

Log in or Sign up to answer