Forums

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

Jira API to relate issue of one project with issue of another project using linking

Hostvisors
Contributor
June 24, 2019

Dear All,

I am trying to relate issue of one project with issue of another project using linking process.

but i am getting below error:

"issuelinks": "Field 'issuelinks' cannot be set. It is not on the appropriate screen, or unknown."

this is my request json:

"issuelinks": [
{
"type": {
"name": "Relates",
"inward": "relates to",
"outward": "relates to"
},
"inwardIssue": {
"key": "TEN-1241"
},
"outwardIssue": "CLEAN-126"
}
],

End Point URL : https://whitelinen.atlassian.net/rest/api/2/issue/

Basically i want to access values of another project's issue using linking process.

Please help me to resolve this issue. The error message is that the field issuelinks is not available on the screen, however I don't see any way to make it avaialbe (since it is not in my list of custom fields). I am logged in as the site admin.

Thanks & Regards,

Amit kumar

1 answer

0 votes
Ravi Varma
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 25, 2019

Hi @Hostvisors ,

 

Please add the field "LinkedIssues" to project TEN issue screens and try invoking the API again

 

Regards,

Ravi Varma

Hostvisors
Contributor
June 26, 2019

But where will I find that field?  I don't have it in custom fields and can't create a new field of that type either. 

Ravi Varma
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 26, 2019

Hi @Hostvisors ,

As mentioned in my above comment, you have to go to the issue screen and add the field "LinkedIssues". You can look at the below screenshot of the configure screen where you can add fields.

 

Screen Shot 2019-06-27 at 12.07.32 PM.png

 

Regards,

Ravi Varma

Hostvisors
Contributor
June 27, 2019

Thanks, but is linkedissue a custom field or a system field?  Or is it a field type?

Ravi Varma
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 27, 2019

It is a system field, which captures the set of linked issues along with link types for each linked issue

If my reply helped you, can you accept it. 

Thanks,

Ravi Varma

Hostvisors
Contributor
June 27, 2019

I am not able to see the system field. 

Ravi Varma
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 27, 2019

Please share a screenshot of the screen on which you want to place the LinkedIssues. Try typing LinkedIssues  at the bottom drop down, similar to the screenshot I shared above

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events