Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Required custom field to appear only during a particular transition

Selvakumar August 7, 2022

Hi,

I use a workflow and wanted few custom fields (required) only during a particular transition to appear. 

Is there a script or do I need to use condition, transition or post function ?

Thanks

2 comments

Comment

Log in or Sign up to comment
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 8, 2022

Validator.

You need a validator on the transition that can check that a field is filled and block that transition if it isn't.

You can also do this with a condition, but they don't tell people why they can't use a transition (they do the same sort of validation, but before someone is using a transition, and they just hide the transition from people, so there's nothing they can click - this can be confusing for people)

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 8, 2022

Are you working with a Company Managed project or a Team Managed project?

With a Company Managed project you can attach a custom Screen to the transition to display just the fields you want. And, as @Nic Brough -Adaptavist- mentions, you can use a Validator to ensure the fields have been filled in, else the transition will not be able to be completed.

If you are using a Team Managed project  you can add Rules to the transition to check that fields are filled in, however

1. The transition will be allowed even if only one of the multiple validations passes.

2. You cannot add a screen to the transition to show the fields. The fields have to have been edited before the transition is attempted.

Refer to:

https://jira.atlassian.com/browse/JRACLOUD-79371

https://jira.atlassian.com/browse/JSWCLOUD-22084

TAGS
AUG Leaders

Atlassian Community Events