/
Append severity to a comment when changed
Append severity to a comment when changed
This guide shows how to append the severity field to a comment if the field was changed using a transition.
Precondition
In the workflow add a transition with a transition screen that has the severity field on it.
Step by step
- Create an Action
- Choose Jira Core as template group
- Select Update comment as template
- Click Create
- Change the URL to {{baseUrl}}/rest/api/2/issue/{{issue.key}}/comment/{{comments.latest.id}}
- Add authentication (use basic auth and a system user)
Add a body
{ "body": "Severity has changed to {{issue.severity}} due to {{comments.latest.body}}" }
- Click on Triggers & Condition
- Add Update as event
- Use JQL to limit the project: project = myproj
- On Field select Severity
Thats it!
This should result in that when ever a transitions is done with the Severity screen and a comment is added, then the comment should be updated to say: Severity has changed to {{issue.severity}} due to {{comments.latest.body}}
, multiple selections available,
Related content
Comment Issue
Comment Issue
More like this
Comment linked issues
Comment linked issues
More like this
Send only public comments from Jira Service Management
Send only public comments from Jira Service Management
More like this
Incoming Webhooks example
Incoming Webhooks example
More like this
Update Insight Object on Issue change
Update Insight Object on Issue change
More like this
Create an Object on transition
Create an Object on transition
More like this