How can i set the summary field, to a specific value? Basically i have set them all to a default and now i want to change it to match two custom fields joined together..
Here is the code i am using but with no luck:(
<!-- @@Formula: if (issue.get("customfield_10001") == null return "Product Master"; else return ("Masters" + issue.get("customfield_10001") + " " + issue.get("customfield_10281")) -->
i have also tried this:
Here is version for JAVA API:
import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.event.type.EventDispatchOption issue.setSummary( issue.getSummary() + "They killed Han Solo, bustards!" ); issueManager.updateIssue(ComponentAccessor.jiraAuthenticationContext.getUser().directoryUser, issue, EventDispatchOption.ISSUE_UPDATED, false);
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot