Comments
-
1. Open your workflow and find the create issue transition. 2. Open the validator tab and choose scripted function from ScriptRunner 3. Write code something like this if (issue.getIssueType().getName() in ["Story", "New feature"]) { invalidInputException = new InvalidInputException("Choose correct issue type") }
-
1. You can find here how to create and trigger a custom event: https://community.atlassian.com/t5/Answers-Developer-Questions/How-do-you-programmatically-raise-a-custom-event/qaq-p/564589 2. You can find here how to check if a field changed:…
-
Thank you for the comment! The guy who develops the plugin said that he will add the ability to get metrics from other plugins.
-
Hello, You should wirte a validator, which will check the issue type and return a error if necessary. it is the right way to do it.
-
It is not possible out of the box. Theoretically you could write such a plugin.
-
Hello, Gadgets for dashboards are different to reports. You can not add a report as a gadget out of the box. Maybe, there are available add-ons in the Atlassian marketplace. You can have a look.
-
If there is no issue key in the summary, Jira will create a new ticket.
-
Hello, You can get issues with Jira Rest Api: https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/#api/2/search
-
Hello, You can use either the Power Custom Field plugin: https://marketplace.atlassian.com/apps/1210749/power-custom-fields Or the Adaptavist ScriptRunner plugin: https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?hosting=cloud&tab=overview
-
@Celik Vedat You are welcome. I am glad it works for you!
-
Try like this: created > startOfDay(-1)
-
Hello, Kindly check that the Assinable Users permission is set in the project permission scheme and your user has the Browse Users global permission. Project permission: https://confluence.atlassian.com/adminjiraserver073/managing-project-permissions-861253293.html Global permissions:…
-
You should go to coq item-> Add-ons -> ScriptRunner -> Listeners Create the Send a custom email listener. Set it up for the Update Issue event. Make a condition that the required field was updated and it will work. When you create the listener there will be examples of conditions. Also you can find some code here:…
-
You can access the data without the plugin. You can query the history of an issue and define the time yourself. You can find an example here: https://community.atlassian.com/t5/Adaptavist-questions/Extract-time-in-status/qaq-p/459833
-
Hello, What do you mean "as an added task"? You can use Jira Rest Api: https://docs.atlassian.com/software/jira/docs/api/REST/7.6.1/?_ga=2.162838841.445380870.1527949763-593458345.1525875113#api/2/issue-createIssue
-
Hello, If you have ScriptRunner, you can create a service, which would do the required job. https://scriptrunner.adaptavist.com/4.3.0/jira/services.html If you want to make it simpler, you can trigger a custom event in the service and use the send email ScriptRunner listener to catch the event and send a email.
-
Hello, You can use the previousSprint jql function from the ScriptRunner plugin: https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_previoussprint
-
1. You can write a listener on the Assign Issue event, check that the assignee equals to the first approver and send a email. https://scriptrunner.adaptavist.com/latest/jira/listeners.html 2. You can create a service, which would check for required issues and do required actions.…
-
I am glad you solved the problem. If my answer helped you to solve the problem, kindly mark it as accepted. In this case other people with similar question will be able to find this answer.
-
Hello, Only issues in the last column in the board are considered to be closed. If you do not want an issue to move to antoher sprint, the issue must be in the last right column in the board.
-
Hello, I just checked. The IN operator lets you select all issues which have the A value selected. It does not matter if it is the only choice or there are other choices as well.
-
Hello, You would need the ScriptRunner plugin for it.
-
I opened the developer tools in my browser and had a look at the request, which is sent when I am clicking on a column header. You can not sort it on the client. It is sent to the server.
-
It is strange. It should work. Make a simpler script with log.error("my script output"). Add it as it is explained in https://scriptrunner.adaptavist.com/4.3.0/jira/services.html and have a look at the logs.
-
Hello, I just checked. Jira does send a request if you sort a jql result by clicking on a field heading.
-
I put jsp pages in the webapp folder. Have a look inside the folder and you will see other jsp page there. Then you can call the jsp by base_url/yourjsp.jsp
-
If you open a ticket from the board, are there story points in the ticket or the field is empty? If it is empty and you are sure, that you had story points in the field before, check the history tab of the issue.
-
Why would you need a jsp? You can return a vm or soy templates for user interface.
-
Hello, It should be restricted on the project permission scheme level. Delete the Browse Issues permission for the freelancers group and grant the Browse Issues permission to Assignee. In this case the freelancers group will able to see only issues, assigned to them.
-
You should choose first the place in Jira UI, where you would like to connect your servlet. Then you can create a web item, which would call your servlet. Here is a tutorial: https://developer.atlassian.com/server/jira/platform/adding-menu-items-to-jira/