2
1
0

Jira Serverを使っています。

多数の利用ユーザーがいるためREST APIを使ってユーザー作成を一括で作成しようと思います。

https://qiita.com/RyoMa_0923/items/c2b4e338890b220a59fe

https://docs.atlassian.com/software/jira/docs/api/REST/7.12.0/#api/2/user-createUser

Create user. By default created user will not be notified with email. If password field is not set then password will be randomly generated.

但リファレンスドキュメントの説明ではユーザー作成したときにメール通知されない仕様のようです。

管理画面からユーザー作成する画面のように、ユーザーへ作成したことをメールで通知することはできないでしょうか?


    Commentコメントを追加...

    1 回答

    1.  
      3
      2
      1

      参考サイト

      https://community.atlassian.com/t5/Answers-Developer-Questions/REST-API-Send-email-on-user-create/qaq-p/507389

      参考サイトの通り"notification" : true の属性を追加すれば通知されるようです。

      {
       "name": "j.doe",
       "emailAddress": "jdoe@mycompany.com",
       "displayName": "John Doe",
       "applicationKeys": [
       "jira-software"
       ],
       "notification" : true
      }

      隠しオプションですかね…。


        Commentコメントを追加...