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

3 answers

1 accepted

1 vote
Answer accepted
Janusz Gorycki
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.
April 4, 2013

Ok, you are a victim of bug https://ecosystem.atlassian.net/browse/PLVS-392. To fix it, either upgrade to the latest snapshot build of the connector, or do not use the "Authenticate using URL parameters" config option in the server configuration dialog

Deleted user
April 4, 2013

Thanks, turning of URL parameter authentication seems to have fixed it.

1 vote
Janusz Gorycki
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.
April 4, 2013

Hi Liam,

Internal Server Error means that something blew up inside JIRA when it was processing the request from the connector. Which means that there will be an error message with a stack trace related to this in your JIRA log. Can you check what error is JIRA reporting in the log?

Janusz

Deleted user
April 4, 2013

Hi, I have edited by original post to include the JIRA server error.

0 votes
Tiago Comasseto
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.
April 3, 2013

Hi Liam,

It seems to me an issue retrieving the result of the following filter (getCustomFilterIssues):

http://jira.smartergridsolutions.com:8082/rest/api/2/search?jql=assignee+%3d+currentUser()+and+resolution+%3d+Unresolved+order+by+priority+desc&startAt=0&maxResults=25&expand=renderedFields

You may get more information about what's wrong using CURL as this example:

curl -u user:password http://jira.smartergridsolutions.com:8082/rest/api/2/search?jql=assignee+%3d+currentUser()+and+resolution+%3d+Unresolved+order+by+priority+desc&startAt=0&maxResults=25&expand=renderedFields

I hope this helps.

Cheers

Deleted user
April 3, 2013

Hi, thanks for your answer. I had already tried that and there are no errors in the response when performing the request outside the Visual Studio connector.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events