Forums

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

Customization of multi issue picker script field.

Paweł Jakimiak
Contributor
April 29, 2020

Hello,

I want to customize script field (multi issue picker type) to showing only issues which have value in specified field the same as field in current issue.

For example:

I have the issue picker field on issue A. The same issue have field called "XYZ" with value "yes".

Goal: scripted field shows only issues from specified projects with the value "yes" in field "XYZ" from specified projects.

This is possible? Now I can use JQL for this field, but I do not know way to add to this query dynamic value from current issue.

 

1 answer

0 votes
Paweł Jakimiak
Contributor
April 29, 2020

I found resolution here: https://scriptrunner.adaptavist.com/latest/jira/behaviours-conversions.html#_dynamically_changing_the_picker_query

But results is presented as issue keys:

current_present.PNG

instead as in normal issue picker (with issue type ico, summary and current status):

target.PNG

Exist any way to change display method by behaviours?

Paweł Jakimiak
Contributor
June 12, 2020

For this I also found resolution: I created custom field of type multi issue picker and I changed searching logic by behaviours.

In my previous approach I used other field type in base field.

Suggest an answer

Log in or Sign up to answer