Forums

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

Scriptrunner query

Garden16_ June 9, 2023

Issue type Enhancement" ,"User Story","Business Requirements") AND project = " Project A"

This is the current configuration for scripted field. However, If I Use the same JQL for different project, lets say Project B ,  even though I configure it using the context, it will show the requirements from Project A only. 

I wanted to use the same field and have it display requirements for Project B when the requirement's scripted field is used in Project B.

 

How do I make the JQL query  specific to a Project and still use the scripted field across multiple projects .

Issue type  in Enhancement" ,"User Story", "Business Requirements") AND project = " Project A","Project B" 

 

I want to reuse the requirements field across multiple projects. However I want to query to display only requirements pertaining to that project when I use the  requirements feild in a particular Project. 

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
PD Sheehan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 9, 2023

Are you talking about a "Issue Picker" built-in script field?

If so, use a behaviour script to change the JQL based on the current project.

TAGS
AUG Leaders

Atlassian Community Events