Restrict the comment visibility in a team managed project



プラットフォームについて: Cloud のみ - この記事は クラウド プラットフォームのアトラシアン製品に適用されます。

要約


Jira Team-managed projects don't have the same ability to restrict comment visibility that company-managed projects do.

That said, it's possible to create a restricted comment manually via the Jira REST API as a workaround.

Workaround: create a visibility-restricted comment via REST API

Send a POST request to the following API endpoint to add a comment. Note the "visibility" parameter which can be used to limit which Jira users can see the comment.

API エンドポイント
/rest/api/3/issue/{issueIdOrKey}/comment


API Request body
{  
"visibility": {   
 "type": "group/role",    
 "value": "group_name/role_name"  
},  
"body": {
    "type": "doc",    
    "version": 1,    
"content": [      
{        
"type": "paragraph",        
"content": [          
{            
"text": "add comment here",            
"type": "text"          
}        
]      
}
    
]  
}
} 

その他のリソース

As this feature does not yet exist, there has already been a feature request ticket logged to add this functionality to team-managed projects. Please see the following:

JRACLOUD-83171 - Comment restriction for team-managed projects Gathering Interest



最終更新日: 2025 年 1 月 14 日

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

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