How do I Refer to <Current Issue> in ScriptRunner's IssuePicker() JQL?

Avi Bachar July 22, 2021

I have such a relation

       Initiative A (Issue Type)

               Feature A1 (Issue Type)

               Feature A2 (Issue Type)

               Feature A2 (Issue Type)

I have a IssuePicker() {multi-select} in Initiative to select Features

once a Feature is selected an IssueLink is Created in a Listener between the initiative and the feature.

I need the link to build a Structure in ALM Structure

 

Now to the Issue:

 

my features filter in the IssuePicker() selects All features with no Issue Link to initiatives (cause each feature can have only one initiative as parent)

 

Have a look at the Picture below

feature AS2-23 was successfully selected previously

and a link was created accordingly

now I try to Add  AS2-18

but the validation of the issuepicker() say AS2-23 is not good with the filter

which is true but wrong - case it is already connected to the "Current Initiative" which is correct.

 

So the solution is:

to say in the filter "Accept Features with IssueLinks to <The Current Issue>"

how do I refer to <Current Issue > in the filter?

 

or any other solution will do

10x

Avi

image.png

 

0 answers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events