When we change period in the task this period should be appearing in the comments to the linked project. How I can do that?
We have two projects. For example: project A and project B. We create in both projects different tasks. The tasks have different deadlines. When we associate these tasks we want that in task of project B was generated comment with a deadline of task of project A.
Could you explain please what plugin can we use.
Could you explain me the scenario please, so I can try to help you out on this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It can be done using your workflow post-functions.
Please work on it, you have lot there to explore.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i create scritp post-funtion, but cjmment not added
import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.link.IssueLinkManager
import com.atlassian.jira.issue.Issue;
import com.atlassian.jira.ComponentManager
import com.atlassian.jira.issue.comments.CommentManager
Issue issueKey = issue
def subTasksLinks = ComponentAccessor.getIssueLinkManager().getInwardLinks(issue.id)
subTasksLinks.each {
def CurrentUser = ComponentAccessor.getJiraAuthenticationContext().getUser().displayName
CommentManager commentManager = ComponentAccessor.getCommentManager()
def comment = "Some comment ......"
if(issueKey){
commentManager.create(issueKey, CurrentUser,comment, true)
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Period = Time am I right?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.