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,361,338
Community Members
 
Community Events
168
Community Groups

Could not update issuelinks in Additional Fields

Edited

I try to update issuelinks OutwardIssue but it doesnt work.

On the issue, I have a link: Outwardissue (blocks) with one entry.

issue link linked issue 

X-12: blocks  X-34

To the issue,X-12,  I need to add

issue link linked issue 

X-12 is blocked by X-56

and

X-12 blocks X-78

X-12 blocks X-90

--------------------------------

The result shoulde be

issue link  linked issue 

X-12 is blocked by X-56

X-12 blocks  X-34

X-12 blocks X-78

X-12 blocks X-90

---------------------------------

adding inwardissues X-56 (is blocked by) works fine

adding 2 outwardissues (blocks)  X-78 and X_90 doesnt work! what's wrong?

----------------------------------------

I use this script:

{"update": {
"issuelinks": [
{
"add": {
"type": {
"name": "Blocks"
},
"inwardIssue": {
"key": "X-56"
}
}
}
]
}
}
{"update": {
"issuelinks": [
{
"add": {
"type": {
"name": "Blocks"
},
"OutwardIssue": {
"key": "X-78",
"key": "X-90"
}
}
}
]
}
}

--------------------------------------------

what goes wrong?

 

1 answer

1 accepted

1 vote
Answer accepted
Guilhem Dupuy Community Leader Sep 05, 2022

Hi @eric_legroux_consulteer_com ,

The Jira issue links work both ways; if you add a link on issue A saying it's "blocking" issue B, it will automatically mark issue B as being "blocked" by issue A.

I think that's why your rule doesn't work, maybe try your script with only the inward link part ?

Let me know if it helps,

Guilhem

Many Thanks!

it works using the inward link only, but this could not be the ouward link should work also...

Like Guilhem Dupuy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Published in Jira Software

An update on Jira Software customer feedback – June 2022

Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...

5,068 views 18 32
Read article

Atlassian Community Events