From some point on, if I attach a video file, it often is recognized as a music file.
In this case, when I try to play this video file just by clicking in the page, it plays as a music. so I should download and play it in the local.
You may want to try a Groovy script that will add a watcher depending on a custom field value.
For ex, I did this one for one of my workflow. Basically it will set the assignee depending on a customfield value upon issue creation. :
import com.atlassian.jira.ComponentManager
def cfManager = ComponentManager.instance.customFieldManager
def cfRadioButton = cfManager.getCustomFieldObjects(issue).find {it.name == 'Need Audio Component'}
String cfValue = issue.getCustomFieldValue(cfRadioButton).getValue()
if (cfValue == "Landmark") {
issue.setAssignee(ComponentManager.instance.userUtil.getUserObject('leadaudio'))
}
else {
issue.setAssignee(ComponentManager.instance.userUtil.getUserObject('defaultaudio'))
} |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.