Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
badges earned

Your Points Tracker
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Issue with set Link type on the create issue transition Behaviours Edited

Moses Thomas Community Leader Feb 24, 2021

Hello Adaptavist,


I  having a wired situation here with linking (inwardLinks). I get the error 

We can't create this issue for you right now, it could be due to unsupported content you've entered into one or more of the issue fields. If this situation persists, contact your administrator as they'll be able to access more specific information in the log file.

I check the logFiles too and there is no useful info.

When i change the linkType to outwardlinks its  working fine! is this some kind of bug ?

Can some one  please assist ?  Script runner version 5.8.0-p5

import com.atlassian.jira.component.ComponentAccessor
//import org.apache.commons.lang3.StringUtils
//import com.onresolve.jira.groovy.user.FormField

final issuePickerFieldName = "VersionSnap"
def issuePickerField = getFieldByName(issuePickerFieldName)
def issuePickerFieldValue = issuePickerField.value

if (!issuePickerFieldValue) {

def relatedIssue = ComponentAccessor.issueManager.getIssueByCurrentKey(issuePickerFieldValue as String)

if (relatedIssue != null)
getFieldById('issuelinks-linktype').setFormValue('has parent').setReadOnly(true)


getFieldById('issuelinks-linktype').setFormValue('has parent').setReadOnly(true)



 Kind regards,


1 answer

1 accepted

0 votes
Answer accepted
Moses Thomas Community Leader Feb 25, 2021

So tried it in DEV environment -  Script runner Version  6.16.0  it is  working perfect !   interesting !

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Management

ThinkTilt is joining the Atlassian Family!

This morning, Atlassian announced the acquisition of ThinkTilt , the maker of ProForma, a no-code/low code form builder with 700+ customers worldwide. ThinkTilt helps IT empower any team in their or...

430 views 19 23
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you