If priority value is high then update the description value .
Hi @Ravina
You can create Scriptrunner Listener:
Condition:
issue.priority.name == "High"
Code:
def resp = put("/rest/api/2/issue/${issue.key}") .header('Content-Type', 'application/json') .body([ fields: [ description : 'Description for issues with high priority' ] ]) .asString()assert resp.status == 204
You can accomplish that either by using Jira Automation, or by workflow automation on the create transition.
Alex
Hi, Alex Koxaras
I want to done this by using script runner . but I am not getting correct result .
Post your script please and the results you are getting
Hi Piotr Zadrożny _Eyzee_
Thanks, I am able to change the description.
It looks like you're new here. Sign in or register to get started.