Hello
I want to get a value of customfield using by groovy script..
And then, I want to set a prefix on issue summary using by customfield value..
it is an example below;
- custom field name = 'Test Field' (single select list field type)
- custom field name value = 'apple'
Then first of all... I want to get the value what is 'apple' by groovy script.
and next i want to set a summary..
Actually I know setting a summary by groovy like below
import com.atlassian.jira.issue.Issue
issue.setSummary("Test Summary");
Then it will be set a "Test Summary" as a new issue summary..
However what I want to do is "issue.setSummary(customfieldvalue + summay)"
So...How can I get a customfield value (single select list field type) and how can set a summary..?
Additionally.. I will set it by post-function..
Please let me know.. thanks..