Forums

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

How to access parent link issue's fields

Susheela.Kushwaha
Contributor
August 9, 2022

Hi,

I am trying to add a condition to a workflow. The condition is to validate if the issue's parent link issue has certain custom fields populated. 

Here is what I could figure out so far:  

issue.customfield_10018.value!=null

where customfield_10018 is parent link field.

Even above code does not give the expected output. The parent link on issue is populated but the above Jira expression keep returning 'false'.

2 answers

1 accepted

0 votes
Answer accepted
O. Funkhouser
Contributor
April 29, 2014

I found a solution. Modifying the template.user.cannotchangepassword.reset, template.user.cannotchangepassword.cannot, and template.user.cannotchangepassword.contact fields of the following file meets my needs.

atlassian-jira/WEB-INF/classes/com/atlassian/jira/web/action/JiraWebActionSupport.properties

Is this the best/only solution?

2 votes
Jobin Kuruvilla [Adaptavist]
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 Champions.
February 6, 2014

Should have worked. What version of JIRA is it?

O. Funkhouser
Contributor
February 6, 2014

JIRA v6.0.8 Standalone ... running on CentOS release 6.4

O. Funkhouser
Contributor
February 6, 2014

Any idea where JIRA caches the templates? I know that I usually have to do a "kill -9" when shutting down JIRA. Is it possible that shutdown isn't cleaning up behind itself?

My only other thought is that there is a .jar file with this file in it as well. Are you aware of any such files?

Jobin Kuruvilla [Adaptavist]
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 Champions.
February 7, 2014

I asked you the version so that I could try it out. Given that you already downvoted, why bother huh? ;)

O. Funkhouser
Contributor
February 8, 2014

I apparently misunderstood the purpose of the up and down vote. My apologies.

I am still investigating this issue. If I identify the solution, I will be sure to post the solution regardless. I am going to try a virgin installation of v6.0.8 and see if there a plugin that may be interfering with the template.

Suggest an answer

Log in or Sign up to answer