Uploaded image for project: 'OpenShift Dev Console'
  1. OpenShift Dev Console
  2. ODC-5686

Code assistance for referencing params in Add Trigger Modal

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • openshift-4.8
    • None
    • UI
    • None
    • ODC Sprint 200
    • 1

      Description

      As a user, I'd like to have the same support of code assistance in the Trigger modal that I can get in the Pipeline Builder.

      Acceptance Criteria

      1. For Parameter inputs, support Param code assistance (ODC-4277 is doing Pipeline Builder version of this)
        • `uid` is a global always available parameter
          • $(uid)
        • Support all the variables in the (Cluster)TriggerBinding (there is a variable section – see screenshot)
          • $(tt.params.<variableName>)
      2. All changes are reflected in the TriggerTemplate resource that is created – nothing else should be impacted with this story

      Additional Details:

      See ODC-4277 for the foundation of Param code assistance.
      TriggerTemplate Docs: https://github.com/tektoncd/triggers/blob/main/docs/triggertemplates.md#structure-of-a-triggertemplate

              aballantyne Andrew Ballantyne
              aballantyne Andrew Ballantyne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: