I am trying to write a script for a field behavior in JIRA. As part of which I am trying to fetch the Summary ( system field ) value from a JIRA ticket. But as result the value in log shows a Null value for Summary.
I tried using below but know luck.
-- FormField ExtractType = getFieldById("summary")
-- FormField ExtractType = getFieldByName("summary")
Can someone help me to show how to get values of a summary field.
Hi Moin, or Jamie - did anything ever come of this question?
I believe I am having the same problem, my code is as so:
def summary = getFieldById("summary")
summary.setHelpText ("Summary is: "+getFieldByName("Summary").getFormValue())
I have tried a range of syntax:
Unfortunately in all cases my help text simply states the summary is Null, even when editing a ticket which has a summary set.
Any help would be greatly appreciated
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!
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