Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Scripted Listener to update field Portfolio Team when a custom field is changed

Andrew Milam
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 1, 2018

I want to configure a scripted listener to automatically update the Portfolio Team field when a custom field's value changes. The context behind this is...

 

We have "Target PIs" we prioritize our work for and use the built in Rank functionality in JIRA/Portfolio to do so. In order to filter by up coming PIs I have created global "Teams" that portfolio uses to pull in issues based off of the value in the "Target PI" field. The problem is when the Target PI value changes users are having to manually change the Team field to associate it with another Team. Is there a way to configure a scripted listener to look for issue updated events when the "Target PI" field is updated - and then update the Team field. I know it will have to be a 1 to 1 mapping of the Team ID and Target PI. An example would be

Field     Value                     Field          Value

"Team" 1654    maps to    "Target PI" 15

"Team" 1655    maps to    "Target PI" 16

 

Any assistance with this would be appreciated!

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events