iT邦幫忙

2023 iThome 鐵人賽

DAY 4
1

嗨~大家好,今天是第四天了,我們又見面了!/images/emoticon/emoticon01.gif

今日分享主題

  1. Workflow Keywords
  2. 啟用 When an issue is transitioned → then automatically assign

今天在講 transitioned Automation template 主題前,需要先提到昨天講的 工作流 workflow ,以及每日 Keywords,做個暖身操~這樣更方便大家了解後續 Automation 的設定。

Workflow Keywords

  1. Column:工作流中的比較大的工作區
  2. Status:工作站中的次級工作站
    https://ithelp.ithome.com.tw/upload/images/20230920/20162673aIybMO0fuH.png

Column & status 是什麼? 我們從 [Configure board] 來了解吧!

  1. 點擊 [Board] 右上角的三點 [...] ,下拉選擇 [Configure board]
    https://ithelp.ithome.com.tw/upload/images/20230920/20162673ItqGL9S04D.png

  2. 選擇 左邊縱向功能欄中的 [Columns and statuses] 即可看到 (1)column & (2)status 。若想要設定更細節的 workflow ,可以點選 column & status 中間的 [Manage workflow]
    https://ithelp.ithome.com.tw/upload/images/20230920/20162673AoWJlqMRcO.png

  3. 因為鐵人賽的文章任務工作單純 workflow 中,把 column & status 都是 Plan to Do 、In Progress、Done 如下圖。https://ithelp.ithome.com.tw/upload/images/20230920/20162673KAcdY3yOxF.png

在此分享來自 Atlassian Community 的好心網友解答用的圖,可以看到 (1)紅框處是 column,(2)紅框處是 status ,可以解釋成,在 In Progress column 中,分為 In ProgressIn Revirew 兩個 status )
https://ithelp.ithome.com.tw/upload/images/20230920/20162673yRSCPc5voK.png

以上說明完成,接下來就要來啟動 transitioned Automation template 啦啦啦!


啟用 Transitioned Automation template

今天要練習的主題如下:

  • When an issue is transitioned → then automatically assign

從定義的工作流 status(如 To do 的 status )拉到下一個階段 status(如 In progress )之後的Ticket ,會自動化 Assign 給某個指定人選。

興不興奮、開不開心準備好了嗎? Let’s go!


我相信有些工作團隊有任務的區分,比如在第一階段時 A member 處理,但是到了第二階段時,可能是需要轉換成 B member 處理,因此,我們需要在中間做哪些事呢?

  1. 工人智慧的透過口頭、工作群組、email等等提醒。
  2. 把 ticket 拉至下一個欄位時,動動手指,把 Assignee 由 A 改成 B,然後 email 會自動通知 B。

請問你會選擇哪一個呢?我選擇 3

3. 只要使用「When an issue is transitioned → then automatically assign 」的 transitioned Automation template,就只要把 ticket 拉至下一個欄位。

所以你不是不好,只是用了太多腦,這種無腦操作是不是很方便呢!

還有還有,昨天我們只是進行的如何啟動 Automation rules,今晚,要不要?要,一定要看仔細 When,If,Than 的設定。不過,因為這個設定很單純,所以設定上只需要 When 和 Than 。
  1. 首先從專案 Board 點擊左邊功能區的 [Project setting]。https://ithelp.ithome.com.tw/upload/images/20230920/20162673rks8sgd5Q9.png

  2. 點擊左邊功能區的 [Automation]。https://ithelp.ithome.com.tw/upload/images/20230920/20162673aHW1eeJHiE.png

  3. 點擊中間上方的 [Rules] 、[Audit log] 、 [Templates] 的 [Templates]。
    https://ithelp.ithome.com.tw/upload/images/20230920/20162673xgW5g4X7RJ.png

  4. 進到 Automation templates 選單後向下拉。https://ithelp.ithome.com.tw/upload/images/20230920/201626734TQRmk2H5y.png

  5. 找到 **When an issue is transitioned → then automatically assign ** ,並點擊進去。https://ithelp.ithome.com.tw/upload/images/20230925/201626733FTi9I4r1q.png

  6. Rules details 已經自動的填完 [Name]
    [Name]:When an issue is transitioned → then automatically assign,而 [Notify on error]、[Actor]、[Who can edit this rule] 等其他的設定我們先不修改,維持原本設定。
    https://ithelp.ithome.com.tw/upload/images/20230925/201626739Nl8ebOQSH.png

  7. 詳看 [When] 的設定
    (1)我們也點擊 [When] 了解一下 Automation rules 的設定。
    When:Issue transitioned
    TO In progress

(2)Issue transitioned 設定
[From status] 選擇 Leave blank to match all statuses...
https://ithelp.ithome.com.tw/upload/images/20230925/20162673ZKz2QwlvWC.png
[To status] 選擇 IN PROGRESS。
https://ithelp.ithome.com.tw/upload/images/20230925/20162673cJyrbOPe41.png

8.詳看 [Than] 的設定
(1)我們也點擊 [than] 了解一下 Automation rules 的設定。
Then:Assign the issue to
User who triggered the event

(2)在**「Assign issue]** 設定中,拉下選單,選擇 [Assign the issue to] 為 [User who triggered the event]
https://ithelp.ithome.com.tw/upload/images/20230925/20162673Gez9hmGP4h.png

若你想改變status也可以手動調整。

  1. 如果沒問題,最後再按下右上角的 [Turn it on],恭喜完成 ✅
    https://ithelp.ithome.com.tw/upload/images/20230920/20162673pdUMSAc7eq.png

When an issue remains for 5 days without an update → send a notification to the Assignee

Ticket 被轉換到某一工作流的 status 中(如 To do 或 In Progress ) 停留了五天,系統會自動提醒 Assignee 。

因為我這裡 鐵人的肝因為睡眠時間不足而變鐵了,以及該 Automation rule 設定比較複雜的關係, 我們另外做一集來分享!


上一篇
Day3-無腦完成啟用 Jira 三個 Epic Automation templates !
下一篇
Day5-你不是不好只是太用腦,快啟用 Jira 自動提醒你有五天沒更新票了!
系列文
每天利用 Jira 開單時,練習一個密技,應該不是薪水小偷吧!?30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言