The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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 :)