i would like to fill in the summary with values from the fields entered or completed.
This is my code in behaviour in "Initialiser" and in the customField.
import static com.atlassian.jira.issue.IssueFieldConstants.*
@BaseScript FieldBehaviours fieldBehaviours
def customFieldManager = ComponentAccessor.getCustomFieldManager()
def optionsManager = ComponentAccessor.getOptionsManager()
def issuetype = getIssueContext().getIssueType().name
def Summary = getFieldById("summary")
log.warn("Summary: "+ Summary)
def TypeD = getFieldByName("Type de demande")
log.warn("TypeD: "+ TypeD)
def TypeValue = TypeD.getValue()
log.warn("TypeValue: "+ TypeValue)
def concatValue = ""+ TypeValue + " "
But when i change the issueType i have this error and its a little bit embarrassing
Can you please help us.
Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...
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