We couldn't load the project sidebar. Refresh the page to try again.
If the problem persists, contact your Jira admin.
IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • None
    • Smart-values
    • 0
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      In Jira smart values, the match method needs more detailing.

      • It's not clear that the pattern we really want is the one between parenthesis
        Maybe that's what it means when it's said it returns the first regex group, which is delimited by the parenthesis.
        One would need to go into the Java documentation to understand that, so I think we need to explain this better here.
      • The example is confusing. A simple line break would make it much more readable
        {{issue.summary.match(".*(lo).*")}} -> lo
        {{issue.summary.match(".*(o).*")}} -> [o, o]
        
      • It's not clear if there's a way to choose between the first match only or a potential collection of matches.
        My understanding is that it depends on the data - it returns one simple string if it's just one match, or a collection if it's multiple matches.
      • An example on how to deal with multiple matches would be a nice bonus. Even just linking Examples of using smart values with lists would help our customers already

          Form Name

            Loading...
            IMPORTANT: JAC is a Public system and anyone on the internet will be able to view the data in the created JAC tickets. Please don’t include Customer or Sensitive data in the JAC ticket.

              • Icon: Suggestion Suggestion
              • Resolution: Unresolved
              • None
              • Smart-values
              • 0
              • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

                In Jira smart values, the match method needs more detailing.

                • It's not clear that the pattern we really want is the one between parenthesis
                  Maybe that's what it means when it's said it returns the first regex group, which is delimited by the parenthesis.
                  One would need to go into the Java documentation to understand that, so I think we need to explain this better here.
                • The example is confusing. A simple line break would make it much more readable
                  {{issue.summary.match(".*(lo).*")}} -> lo
                  {{issue.summary.match(".*(o).*")}} -> [o, o]
                  
                • It's not clear if there's a way to choose between the first match only or a potential collection of matches.
                  My understanding is that it depends on the data - it returns one simple string if it's just one match, or a collection if it's multiple matches.
                • An example on how to deal with multiple matches would be a nice bonus. Even just linking Examples of using smart values with lists would help our customers already

                        0291f5616540 Konrad Plasota
                        5fb7769fcbc7 Allan Gandelman
                        Votes:
                        0 Vote for this issue
                        Watchers:
                        1 Start watching this issue

                          Created:
                          Updated:

                            0291f5616540 Konrad Plasota
                            5fb7769fcbc7 Allan Gandelman
                            Votes:
                            0 Vote for this issue
                            Watchers:
                            1 Start watching this issue

                              Created:
                              Updated: