-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conditional fields #361
Labels
backlog
Identified as a backlog item, often combined with low-priority and help-wanted labels
Comments
I think we could figure out something for this. A "sanitize" function of sorts could take in a template, use JQ to remove keys with empty values, and output the modified config. |
That would be amazing. I think the existing custom params wouldn’t work, but that would, possibly. |
KyleTryon
added
the
backlog
Identified as a backlog item, often combined with low-priority and help-wanted labels
label
Dec 6, 2022
Its done now so we can close this i guess @KyleTryon @wyardley |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backlog
Identified as a backlog item, often combined with low-priority and help-wanted labels
Describe Request:
Kind of a question, kind of a feature request.
With the old style templates, it was possible to have certain fields only show up if they're set (e.g., mentions). I can't think of a way to do this with the new setup, but is there any way (either using something builtin to Slack templates, or in the orb) to allow us to have a field that will only show up if it's set / used (for example,
mentions
)? Otherwise, the template gets cluttered with fields when they're not in useExamples:
Supporting Documentation Links:
The text was updated successfully, but these errors were encountered: