Forums

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

I created an issue picker field. How can I have the parent of that issue in the field

Willyam Mudingayi Malumba March 26, 2025

I created a field named Select Parent which is an issue select picker. I want to have the parents of that specific issue in that field to be able to select one them. 

How should i do it ? With a groovy script or with a JQL request ? 

Please can you provide both solution. 
Here's the field :
Field.png
Here's the configuration of the field :
Configuration.png

1 answer

0 votes
Dick
Community Champion
March 27, 2025

Hi @Willyam Mudingayi Malumba Welcome to the Atlassian Community.

I believe your post isn't getting traction because of an inconsistency in your question.

  • A Jira work item can only have one parent.
    The key of that parent is stored in the parent link field. 

Please rephrase your question with the above in mind, so we can look at it differently.

Kind regards,

Dick

Willyam Mudingayi Malumba March 27, 2025

Hi Dick, 

In our configuration a Jira issue can have multiple parent and they are linked by a type "ALM_LINK" so if you do the linkedIssue(key, "ALM_LINK", 1) you find all the parents of the key. 

My question is how can I do the same with a groovy script. I want to be able to find all the issue related (parents) to my current issue based on the linked type. 

Thanks!

Willyam Mudingayi Malumba March 28, 2025

@Dick Any idea ?

Dick
Community Champion
March 31, 2025

Hi @Willyam Mudingayi Malumba ,

Thank you for elaborating your query. I translate it into you needing a dynamic list of linked issues (parents). There seems to be a similar ticket on this forums.

Kind regards,

Dick

Suggest an answer

Log in or Sign up to answer