Forums

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

Creating custome field like sprint field.

Marat February 17, 2022

Hi!

 

I’m trying to create a custom field similar to the sprint field. The idea is to not be able to remove the old values ​​from the field if a certain date has passed. Just like it is done in the sprint field, when the sprint is over you cannot erase the completed sprint.

 

I've created a field with SIL that converts an api request into an output list. Tell me how you can block the deletion of old values ​​​​if a certain date has passed? 

1 answer

0 votes
Nic Brough -Adaptavist-
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.
February 17, 2022

You can't do that as you've written it.

The best you can do is create a listener that picks up any change to the field, reads the current content and the new content, and sets the content back to what it was before the edit, if the edit has done something wrong.

This is complicated, clunky and will annoy your users (because you can't tell them what they've done wrong, you're arbitrarily dismissing their updates)

Why are you trying to do this?  What problem are you trying to solve with this field?

Suggest an answer

Log in or Sign up to answer