Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,800
Community Members
 
Community Events
184
Community Groups

How to access parent link issue's fields

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'.

1 answer

0 votes
Stephen Wright _Elabor8_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 14, 2023

Hi @Susheela_Kushwaha 

In case you're still looking, this Advanced Compare Condition should work, with this smart value - {{issue.Parent Link.<Field>}}

I just tested this with Assignee, and it worked fine.

If you'd like more specific help with formatting the Condition, let us know!

Ste

Thank you so much @Stephen Wright _Elabor8_ It is been long but sure will give it a try.

angelicagavino
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Jan 17, 2023

I am also trying to access the Parent Link field (the field provided by advanced roadmap) in Cloud.
I am trying to create a Scriptrunner Validator that uses Jira Expression language instead. And the issue.customfield_XXXXX.value !=null is not working (but for other usual custom fields, this is working)
Even issue.customfield_XXXXX.key !=null is not working.

I think the smart value advanced comparison is only applicable for Automation right @Stephen Wright _Elabor8_ ??

Are you aware if Parent Link field is accessible via Jira Expression?
Thanks

Stephen Wright _Elabor8_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 17, 2023 • edited

No worries @Susheela_Kushwaha - let us know how it goes!

---

@angelicagavino - I think there's limits in Expressions like in JQL. Because "is not EMPTY" or "Null" is not an available option for Parent Link in JQL, so might be similarly unavailable in your use case.

Ste

angelicagavino
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Jan 25, 2023

Adding here for everyone's benefit (and to whoever will come across with same issue).

Turns out that you should use .data

 

Example:

issue.customfield_12345.data !=null

 

where 12345 -> ID for Parent Link custom field

Like # people like this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events