Create link between to issues

I want to create a link between two issues using Automation.

I can't upload a screen shot of the rule for some reason, I hope you can understand this instead:

  1. When: Issue transitioned
  2. If: Issue matches JQL
  3. Then: For parent
  4. Then: Create 1 sub-task
  5. And: Edit issue fields (advanced)

Code in advanced:

{"update": {
        "issuelinks": [                    
                "add": {
                    "type": {
                        "name": "Relates"
                    "outwardIssue": {
                        "key": "{{issue.key}}"

No link is created. Since I zero coding experience I can't figure out what is wrong. The file says the following:

Unknown fields set during edit. Fields ignored - issuelinks

Maybe the rule is causing this?

1 answer

0 vote
Andreas Knecht Community Champion Feb 26, 2017

Hi Christian,

This error usually means that the 'Linked issues' field is not on the appropriate screen.  To fix this, go to Project administration -> Screens.  Select the 'edit issue' screen and then add the 'Linked issues' field to this screen.

To verify you can simply go to an issue and hit 'Edit' manually - the linked issues field should be present.  If it's not, you can bring up the 'Where is my field?' helper by hitting 'Configure' top right in the edit dialog and then clicking on 'Where is my field?'.  It should look like this:  (for some reason I can't attach the image to right now)

Hope that helps!



Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

349 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you