Forums

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

What is the Type name of "issuelinks" field from JSON import for Xray links?

Olga Kolov January 5, 2024

Hello all,

I try to make JSON import of Xray issues into my project in Jira Data Center instance. I found this JSON field annotation:

{
   "fields":{
      "project":{
         "key":"TEST"
      },
      "summary":"test bug summary",
      "description":"test bug description",
      "issuetype":{
         "name":"Bug"
      },
      "priority":{
         "name":"Major"
      }
   },
   "update":{
      "issuelinks":[
         {
            "add":{
               "type":{
                  "name":"Blocks",
                  "inward":"is blocked by",
                  "outward":"blocks"
               },
               "outwardIssue":{
                  "key":"TEST-1"
               }
            }
         }
      ]
   }
}

All is fine, but I don't know wtah the name of link I have to use.. My inward would to be "tests" and outward - "tested by". But what the type name?

Best regards,

Olga

 

 

1 answer

1 accepted

0 votes
Answer accepted
Florian Bonniec
Community Champion
January 5, 2024

Hi @Olga Kolov 

 

You can find the name of the link as admin in the Issue Linking menu of JIRA.

In your case, it's a link created by Xray, so it should be Tests

 

Regards

Olga Kolov July 16, 2024

Thanks a lot :)

Suggest an answer

Log in or Sign up to answer