Comments
-
What do you mean that there is no error? Do you get 200 status code? If there is no error then you should get the key of the created issue.
-
It all depends on your project permission scheme. Make sure that external clients do not have browse issues permission in other projects.
-
It must be like this project="X" AND component in componentMatch("Issue Type:.*")
-
Where do you look for the field? If you want to add the field on a screen then you should add the Time Tracking field.
-
In behaviours you can either use the underlyingIssue variable or getIssueContext()
-
You can not do it in Jira interface. But you could use Jira Rest Api to receive the history of an issue and find the number of times the status was changed to the required status in Excel or other similair application. You would need to use GET /rest/api/2/issue/{issueIdOrKey} with changelog option. You can find more info…
-
What kind of update? Could you provide the address of the page without the base url?
-
You can not do it out of the box. Kindly have a look at the Tempo Budget plugin. Maybe, it will suit your requirements: https://marketplace.atlassian.com/plugins/com.greffon.folio/server/overview
-
Define a logger in your script like this import org.apache.log4j.Loggerimport org.apache.log4j.Level def log = Logger.getLogger("com.acme.CreateSubtask")log.setLevel(Level.DEBUG) then you can find your logs by <span>com.acme.CreateSubtask pattern</span>
-
I am not sure about the configurations in your project. But it must work without @Scanned annotation
-
Look for errors in the log
-
There is no save button. You can not save the changes you made, because release notes are created automatically, based on the template, which you provided. You can find more info here https://confluence.atlassian.com/adminjiraserver/creating-release-notes-938847219.html
-
Initializer fires only once, when a screen is loaded. Server Side script for a field fires everytime, when the value of the field changed.
-
Do you fill the custom field on issue creation or after the issue created? If on issue creation, then add the custom field for the create issue event in the project notification scheme.
-
Could you provide one of your scripts, which is not working?
-
You need to set the Info log level for ScriptRunner in jira in System -> Logging and Profiling. Or define your own logger in your file and set the logger to the Info level. You can find more info here: https://www.adaptavist.com/doco/display/SFJ/Set+logging+to+help+debug+your+scripts
-
CustomService must be injected without @ComponentImport annotation. You inject only external to your plugin services with the ComponentService annotation. public class CustomAction extends ProjectActionSupport { @Inject public CustomAction(@ComponentImport PageBuilderService pageBuilderService, CustomService customService)…
-
If you ask about the gadgets, which you can add to a Dashboard, then if a gadget does not let you export its data to a file then you can not export them.
-
I guess, you have multiple workflows for your project and you should add the Reopen transition in all workflows.
-
Kindly read my article here https://community.atlassian.com/t5/Agile-articles/Three-ways-to-update-an-issue-in-Jira-Java-Api/ba-p/736585 You use the frist method in my article. You should get options for the field like this def List<Option> getOptions(Issue issue, CustomField customField, List<String> optionList) { def…
-
You need to publish the draft of the workflow.
-
When you create fields in the Administration -> Issues -> Custom fields the fields are created permanently in your Jira, but they do not appear in the screens unless you add them. You need to add custom fields to the screen scheme in your project.
-
You should add such a transition to your workflow. What was the problem?
-
You need to add the Contract type field to your behaviour and define the script in your question for the added field. Right now I guess you defined the script for the whole behaviour.
-
Add javascript to your velocity template and attach your javascript to the focus or onchange event of the required item. Then you can make an ajax request in your javascript.
-
Same here. I did not need much the API yet. But I can remember I spent about 30 mins on trying to find any documentation on the API and I was not able to do it. I guess it is TOP secret info :)
-
I just checked ScriptRunner 5.3.7 and I found Sprint events there. I guess they are available from ScriptRunner 5.2.2. But I am not 100% sure.
-
If it is a post function, then it must be first in the list of your post functions.
-
Create a field configuration for the required issue type and set the Priority field to hidden there.
-
You would need a plugin for it. Do you have ScriptRunner?