How to list SLAs and conditions used with JSM projects

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

目的

Sometimes, Jira admins would like to know which SLAs and their conditions are being associated with JSM projects. This guide provides SQL queries to identify those SLAs, conditions and associated projects.

ソリューション

  •  Run the following SQL queries that will list SLA conditions (PAUSE, START, STOP), SLA names and associated project name:

    SELECT mc."FACTORY_KEY", mc."TYPE_NAME", tm."NAME", p.pname  FROM "AO_54307E_METRICCONDITION" mc
    join "AO_54307E_TIMEMETRIC" tm on mc."TIME_METRIC_ID" = tm."ID"
    join "AO_54307E_SERVICEDESK" sd on tm."SERVICE_DESK_ID" = sd."ID"
    join project p on sd."PROJECT_ID" = p.id

    (info) This SQL query was written to PostgreSQL and it may differ for other database types.

  • Example result (for the sake of simplicity, only one project is listed here):

    |FACTORY_KEY                        |TYPE_NAME|NAME                          |pname          |
    |-----------------------------------|---------|------------------------------|---------------|
    |issue-created-sla-condition-factory|Start    |Time to resolution            |IT Service Desk|
    |resolution-sla-condition-factory   |Start    |Time to resolution            |IT Service Desk|
    |resolution-sla-condition-factory   |Stop     |Time to resolution            |IT Service Desk|
    |issue-created-sla-condition-factory|Start    |Time to first response        |IT Service Desk|
    |resolution-sla-condition-factory   |Stop     |Time to first response        |IT Service Desk|
    |comment-sla-condition-factory      |Stop     |Time to first response        |IT Service Desk|
    |status-sla-condition-factory       |Stop     |Time to first response        |IT Service Desk|
    |resolution-sla-condition-factory   |Start    |Time to close after resolution|IT Service Desk|
    |resolution-sla-condition-factory   |Stop     |Time to close after resolution|IT Service Desk|
    |status-sla-condition-factory       |Stop     |Time to close after resolution|IT Service Desk|
    |status-sla-condition-factory       |Start    |Time to approve normal change |IT Service Desk|
    |status-sla-condition-factory       |Start    |Time to approve normal change |IT Service Desk|
    |status-sla-condition-factory       |Stop     |Time to approve normal change |IT Service Desk|
    |status-sla-condition-factory       |Stop     |Time to approve normal change |IT Service Desk|
    |status-sla-condition-factory       |Stop     |Time to approve normal change |IT Service Desk|
    |status-sla-condition-factory       |Stop     |Time to approve normal change |IT Service Desk|
    |status-sla-condition-factory       |Stop     |Time to approve normal change |IT Service Desk|
    |status-sla-condition-factory       |Stop     |Time to approve normal change |IT Service Desk|
    |status-sla-condition-factory       |Stop     |Time to approve normal change |IT Service Desk|
    |status-sla-condition-factory       |Stop     |Time to approve normal change |IT Service Desk|
    |status-sla-condition-factory       |Pause    |New sla                       |IT Service Desk|
    |assignee-sla-condition-factory     |Pause    |New sla                       |IT Service Desk|
    |status-sla-condition-factory       |Stop     |New sla                       |IT Service Desk|
    |issue-created-sla-condition-factory|Start    |New sla                       |IT Service Desk|
    |status-sla-condition-factory       |Start    |New sla                       |IT Service Desk|
    
    



説明 How to list SLAs and conditions used with JSM projects
製品JSM (Jira Service Management)
最終更新日 2022 年 8 月 10 日

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

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.