Comments
-
Could you provide the request here?
-
How do you send the PUT request?
-
You can try to disable and enable the ScriptRunner plugin and see if the field is created. But try it first on a staging environement.
-
Try this one: import java.text.SimpleDateFormat def list = issue.getFixVersions(); def Date2 = list[0]; print Date2.getReleaseDate(); def test = new Date(Date2.getReleaseDate().getTime()); <span>SimpleDateFormat</span><span> dt </span><span>=</span> <span>new</span>…
-
You need to format the date like this: import java.text.SimpleDateFormat def list = issue.getFixVersions(); def Date2 = list[0]; print Date2.getReleaseDate(); def test = new Date(Date2.getReleaseDate().getTime()); <span>SimpleDateFormat</span><span> dt </span><span>=</span> <span>new</span>…
-
You are welcome!
-
You can use this method to validate transition: validateTransition(@Nullable ApplicationUser user, Long issueId, int actionId, IssueInputParameters issueInputParameters, TransitionOptions transitionOptions) In TransitionOptions you can skip conditions
-
It returns you the collection of selected FixVersions. You can select multiple fix versions in this field.
-
Hello, You can get a value from Fix Versions like this: issue.getFixVersions()
-
Hello, I think you should try solution from this thread: https://community.atlassian.com/t5/Answers-Developer-Questions/How-do-I-add-a-specific-user-as-a-watcher-using-script-runner/qaq-p/569185
-
Hello, You can open the Jira database and query the searchrequest table. Your query would be like this: SELECT * FROM SEARCHREQUEST where REQCONTENT like '%fixVersion%'
-
Hello, You can not add additional fields to the project screen out of the box. Have a look at the add-on in the Marketplace. For example, this one: https://marketplace.atlassian.com/apps/1210816/profields-jira-project-custom-fields?hosting=cloud&tab=overview
-
Hello, It would be like this: import com.atlassian.jira.component.ComponentAccessor; import com.atlassian.jira.jql.parser.JqlQueryParser; import com.atlassian.jira.issue.search.SearchProvider; import com.atlassian.jira.web.bean.PagerFilter; def findIssues(String jqlQuery) { def issueManager = ComponentAccessor.issueManager…
-
It would show it in the history tab of the issue.
-
Hello, It is possible. You should create a filter, which would choose issues from both projects. Then you can create a board and connect this filter to the board. In this case you will be able to see issues from both projects in your board and create sprints from these issues.
-
Are you sure that the isseutype of the missing issues is PQM:Deviation and they are in the PQM project?
-
Hello, Make a separate transition (for example, name it autoInProgress) and set the Hide transition form user condition for this transition. In your script you can execute the autoInProgress transition.
-
There is a button called advanced. Push it and you will be able to enter a JQL query
-
Hello, What is the error? Did you turn on the Enhanced Search? http://scriptrunner-docs.connect.adaptavist.com/jiracloud/enhanced-search.html
-
Hello, You can not undo changes. You have to enter the old value to the description field.
-
Hello, What do you mean by mapping? You just want to use the summary field as a title? You can do it. Though you can not change the label summary for title.
-
Hello, Try to execute the following JQL query: reporter = "customer name"
-
Hello, Do you mean queues form Jira Service Desk? If so, then an item does not have this history. Because a queue is just a JQL query, which selects issues. An issues is selected by a queue only if it satisfies the queue's condition. If you updated a field or moved to another status, then an issue can change queue. But…
-
Hello, You would need to execute a transition. Kindly read the following thread: https://community.atlassian.com/t5/Jira-questions/Programatically-Modify-Change-Update-an-issues-status-in-Java/qaq-p/381762
-
Hello, You should add a parameter to the Rest call /rest/api/2/search?jql=project=key?fields=*all
-
error 405 means that you are trying to execute the wrong method. make sure you send a PUT request, not GET or POST.
-
Could you provide the json you are sending.
-
Hello, JQL can return only issues. It can not return to you a list of reporters. That is why you would need a plugin to accomplish your task. For example, Power Scripts or ScriptRunner.
-
Hello, Try to log info and have a look what is going wrong. For example like this: log.error("issue.issueType.name: ${issue.issueType.name}") log.error("cfValues[11240]: ${cfValues[11240]}") issue.issueType.name != 'Bug' || cfValues[11240] The logs will be in the atlassian-jira.log file
-
Can you query these issues by any JQL? For example, issuekey = <key of the issue>