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,298,605
Community Members
 
Community Events
165
Community Groups

Writing a listener that creates a parent link to issue created

I need help writing a listener script using the Scriptrunner. 

We have a custom field called Client Project Category and it is a single issue picker. I want to set a listener that when that field is populated the Client Project Category issue should also be set as the parent of the issue being created. 

Example: I am creating a new Task (ABC-1) and in that task I set the Client Project Category field as (XYZ-2). When ABC-1 is created I also want XYZ-2 to be set as the Parent Of ABC-1. 

The Client Project Category filed could be populated when creating an issue or it could be populated after creation by editing. 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

212 views 1 4
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