Forums

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

Automation for Jira: several links on subtask creation

Alessandro Tondo
Contributor
February 7, 2018

When I create a subtask I'm not able to add two distinct issue links by using the Additional fields section, but it works with only one link.

I've tried several times without success, and I believe I'm doing something wrong. Is something like this right?

{
"update": {
"issuelinks": [
{
"add": [
{
"type": {
"name": "Blocks"
},
"inwardIssue": {
"key": "ASM-656"
}
},{
"type": {
"name": "Blocks"
},
"inwardIssue": {
"key": "ASM-657"
}
}
]
}
]
}
}

 Thanks for your help!

1 answer

1 accepted

1 vote
Answer accepted
Huw Evans
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.
February 7, 2018

Hi Alessandro,

I've tentatively raised this as a bug at AUT-773 on our public issue tracker (you might have to change your browser to incognito mode to view this).

In the meantime, you can get around this by adding multiple 'Edit Issue' (or whatever you were using) components and using their advanced sections. You could also achieve the same result by adding multiple 'Link Issue' components.

Let me know if you need anything else :)

Huw

Developer at Code Barrel

Huw Evans
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.
February 7, 2018

Quick update: I've checked with the team and this is definitely an issue on Atlassian's end. You can follow the relevant tickets on their tracker at JRASERVER-66329 and JRACLOUD-65583.

Alessandro Tondo
Contributor
February 8, 2018

Thank you very much Huw!

I've spent quite an hour figuring out what I was doing wrong, and it was simply a Jira bug.

I'm watching that issue and till resolution I'll do what you've suggest.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events