Comments
-
I guess, it will be the Issue Navigator context. You can find an asnwer here: https://community.atlassian.com/t5/Answers-Developer-Questions/Java-script-in-issue-navigator/qaq-p/561767
-
To validate if a field was change in a listener, you should do like this: def customFieldName = "your custom field name" log.debug("changeItems: " + changeItems.toString()) while (i < changeItems?.size()) { log.debug(changeItems.getAt(i).get("field")) if (customFieldName.equals(changeItems.getAt(i).get("field"))) { return…
-
Hello, When you develop a plugin you should define <context>jira.view.issue</context> for your resource
-
Ah, I see. that is why it does not work
-
Hello, It should be like this: project = XXXXX AND issuetype in (Story, Task) AND (labels != YYYYY OR labels is EMPTY) AND (resolution is EMPTY OR resolutiondate >= -14d) ORDER BY "Estimated Date" , priority
-
Hello, I guess somebody added them back.
-
It should not make a difference. Do you put this script to a validator?
-
As far as I understand originalIssue does not take the current data of the issue. Let s try to do it antoher way: import com.atlassian.jira.component.ComponentAccessor def originalIssue = ComponentAccessor.getIssueManager().getIssueByCurrentKey(issue.getKey()) def customFieldName = "your custom field name" def cf =…
-
Да, все верно. Это я с Jira перепутал. Для confluence <confluence_home>/confluence.cfg.xml https://confluence.atlassian.com/confkb/how-to-find-confluence-s-database-connection-parameters-779172320.html
-
You can restrict comment visibility in Jira Core. You can create a comment and then you will see a lock there. Click on the lock icon and you will be able to restrict this comment to a group or a role. If you want to automate this process, then you should have such plugins as ScriptRunner.
-
Hello, As far as I understand you use Jira versions and you want to transition issues if a version in the Fix Versions field is released. You can user the ScriptRunner plugin to write a listener, which would listen to the VersionReleaseEvent. If this event is triggered, then this listener would catch it and transition all…
-
Hello, Have a look at the Nfeed or Power Database Fields PRO plugins: https://marketplace.atlassian.com/apps/23337/nfeed-external-data-in-custom-fields?hosting=server&tab=overview https://marketplace.atlassian.com/apps/630415/power-database-fields-pro-external-data?hosting=server&tab=overview
-
Hello, The only way is to remove the Due Date from the Edit screen and create a new transition to change the Due Date field. You could add a validator to this transition to check if the "delay reason" field must be set. You would need the Power Scripts or ScriptRunner add-on for such a validator.
-
Hello, If you can create a project, then you should be able to delete it. Go to cog item -> Projects. Choose your project and delete it.
-
Hello, I can see two ways to do it: 1. You can restrict comment visibility by choosing a group or a role, which can see this comment. 2. You can use Jira Service Desk. There are two types of comments: internal and shared. Shared can be seen by anyone but internal only by Service Desk Agents.
-
This permission is called Manage Sprints. You can find more info here: https://confluence.atlassian.com/adminjiraserver073/managing-project-permissions-861253293.html
-
If my answer helped you, kindly mark my answer as accepted.
-
Привет! Открой файл dbconfig.xml, который находится в Jira_Home. Там будет имя пользователя и пароль
-
Hello, There 3 ways to store data in Jira: 1. Active Objects: https://developer.atlassian.com/server/framework/atlassian-sdk/active-objects/ 2. Plugin Settings: https://developer.atlassian.com/server/framework/atlassian-sdk/sal-services/ 3. Issue, Project, Comment properties. This properties are stored for each issue,…
-
Yes, you should be able to create a new sprint. Could you hover on the create sprint button and see the message there?
-
You should add your script as a post funtion to this transition
-
Hello, How do you create a subtask? As I read your question you only create a transition and a screen. How do you create a subtask?
-
Hello, You should write a code to do this. You add the estimate type field to the behaviour. And the you can check if the field is empty like this: def estType = getFieldByName("estimate type") if (estType.getValue() == null) { // the field is empty }
-
Could you add logging to your script and have a look in the logs, what the values are: def customFieldName = "your custom field name" def cf = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName(customFieldName) log.error("issue.getCustomFieldValue(cf).toString():…
-
You can not colour fields with SIL
-
Hello, You can not see this custom field in the view screen, because custom fields without values are not shown in the view screen. If you have Jira admin permissions, you can go to the detail view issue screen and click Admin->Where is my field. Then enter the filed name and you will see, why this field is not in the…
-
I am not sure about c#. You can take Postman or Soap UI and try to execute there. if it works, then the problem is with your code.
-
Hello, Hopefully I am not too late to answer this question. But maybe it will be useful to other people, who have the same error. I tried to import a backup from Jira Server to Cloud and met the same error. The message of the error is misleading. The userName field was filled for all users. The problem actually was with…
-
import com.atlassian.jira.component.ComponentAccessor def customFieldName = "your custom field name" def cf = ComponentAccessor.getCustomFieldManager().getCustomFieldObjectByName(customFieldName) if (issue.getCustomFieldValue(cf).toString().equals(originalIssue.getCustomFieldValue(cf).toString())) { return false; } else {…
-
Hello, You can restore jira tickets only from a backup.