We have set up a behavior to hide a field until the Flagged field is selected. Once the Flagged field is selected, the behavior displays (unhides) the hidden field and marks it as a required field.
When editing an issue via the Edit screen:
Click Edit from the issue
Select the Flagged field
Results: New field is displayed and marked with a red * and you must enter a value
This is the expected behavior
When editing an issue via an agile board:
Go to the agile board
Select the issue
Detail view is displayed to the right of the board
From the eclipse dropdown menu, select Add Flag
Results: Flag is added to the issue. New field IS NOT displayed. Issue is updated successfully
I think this is expected given the documented behaviour limitations.
You can't control whether a field is visible or not on the view screen.
Also, presumably, the newly unhidden field would be empty after first adding a flag. Empty fields by default are never displayed in the view screen (which is what you see in the display panel in the agile board).
If you subsequently attempt to edit your issue, those fields should be visible as expected.
Thank you for the response. I have seen the behavior limitations document and was hoping that, in this scenario, this statement would hold true:
"On the View Issue screen, trying to edit a field with a behaviour launches the Edit Issue screen, instead of the normal inline editor."
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That statement refers to the "in-line" edit functionality where you over over a field in the issue view and click on the pencil icon. In this case, clicking that icon opens the full edit screen instead of activating the in-line edit mode.
Adding a flag via the add-flag functionality is not prevented. Same with bulk edits via the issue navigators.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.