自動化 || 分割機能 - ユース ケースの例
プラットフォームの注記: Cloud のみ - This article only applies to Atlassian apps on the クラウド プラットフォーム上のアトラシアン製品にのみ適用されます。
要約
Split(" ") is a type of smart value that can be utilized in automation rules, depending on the required scenario. You can learn more about the split function at this link: Automation smart values - text fields
Tip: If your automation scenario requires different string manipulation or additional delimiters, refer to the article above for the complete list of text functions.
ソリューション
ユーザーのメール アドレス (user@domain.com) からユーザー名またはドメインの値を抽出し、将来使用できるようにテキスト フィールドに保存する必要がある場合を考えます。このような場合は、報告者フィールドからユーザー情報を取得する必要があります。そうすれば、分割機能を使用できます。
Extract the username (the portion before @): {{reporter.emailAddress.split("@").get(0)}}
Extract the domain (the portion after @): {{reporter.emailAddress.split("@").get(1)}}
次のスクリーンショットは、split() と自動化出力の別の使用例を示しています。


この内容はお役に立ちましたか?