Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,295,501
Community Members
 
Community Events
165
Community Groups

Based On Priority field updated the description field

Edited

If priority value is high then update the description value .

 

2 answers

1 accepted

1 vote
Answer accepted

Hi @Ravina Mahajan 

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

chrome_soROVLnUet.png

Hi Piotr Zadrożny _Eyzee_

Thanks, I am able to  change the description.

1 vote
Alex Koxaras Community Leader Jun 14, 2022

Hi @Ravina Mahajan 

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 .

Alex Koxaras Community Leader Jun 14, 2022

Post your script please and the results you are getting

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,457 views 37 44
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you