Comments
-
I don't understand, you told me that you want to automatically create subtask if fixversion starts with WiFi_. The Script above checks exactly if any of the fixversions starts with WiFi and there is no already created sub task with summary 'Automated Test'. Am I missing something?
-
Oh sorry, Try this one! return issue.fixVersions*.any{it.name.startsWith("WiFi_")} && !issue.subTaskObjects*.find{it.summary == "Automated Test"}
-
Hello @Sai Krishna Yadav Challendula What's the problem with my latest script? Has it not worked?
-
I am glad that it works! Below would help your latter request: return issue.fixVersions*.name.startsWith("WiFi_")) && !issue.subTaskObjects*.find{it.summary == "Automated Test"} Please accept the answer so that it will be marked as RESOLVED. Thanks
-
I don't have any idea why your test has not succeeded but below Groovy code means that if the version of the parent issue contains Wifi_2.7 value and any sub-task with summary "Automated Test" has not been created then return true, otherwise false. return issue.fixVersions*.name.contains("WiFi_2.7")) &&…
-
I am sorry there were too many closing braces. Please try this one, if (issue.fixVersions*.name.contains("2.5.4")) { return true } I also corrected the above answer.
-
Yeah, of course. I did not change that part of your code. I think below will work, bear in mind that I haven't run the codes, I am just trying to help you by coding in this window, sorry if you encounter any errors. Issue issue = event.issue def change = event?.getChangeLog()?.getRelated("ChildChangeItem")?.find {it.field…
-
import com.atlassian.jira.issue.Issue import com.atlassian.jira.issue.util.DefaultIssueChangeHolder import com.atlassian.jira.issue.ModifiedValue import com.atlassian.jira.user.ApplicationUser import com.atlassian.jira.issue.MutableIssue import com.atlassian.jira.component.ComponentAccessor Issue issue = event.issue def…
-
How about using it.field == "assignee" , with lowercase "a"
-
Hi @siva Fix Version field may keep multiple values, so you can check whether it contains a specific value as below (assuming 2.5.4 is the version you want to check): if (issue.fixVersions*.name.contains("2.5.4")) { return true } Hope it helps
-
Hi @Sai Krishna Yadav Challendula In your code, there is a line as below: def change = event?.getChangeLog()?.getRelated("ChildChangeItem")?.find {it.field == currentAssigneeId}; I am not sure but, can you please try it.field == "Assignee" rather than it.field == currentAssigneeId ?
-
You can try force-quitting SourceTree. Simply press Cmd +Opt + Esc, and select SourceTree and Force Quit. Then if you still need to remove SourceTreem, open the Applications folder in the Finder, search for SourceTree application, and delete it (Cmd + Del). It should do the trick.
-
You're very welcome.
-
Hi @David Lopes Leles The classic (old) view is not available anymore. Since you are on the cloud version, I would contact the Atlassian support team. Cheers Tuncay
-
Hi @Josh Barnes It's hard to say, but at first glance, I can say that your Jira application user does not have the necessary permissions on your database. As far as I can see, the sequence could not be created and when inserting data into the table it gives an error "no sequence". The application user should have altering…
-
Hi @evan As far as I know, it is not possible via REST API for Jira Server. There is already an issue with this request. You can vote/watch the issue. https://jira.atlassian.com/browse/JRASERVER-36112 But you can use Java API either by building your own plugin or using Script Runner as @Kishan Sharma mentioned.
-
Hi @Radosveta Delcheva I am Tuncay, and I am also the PO of Easy Integrations Plugin for Jira. As @Brant Schroeder mentioned, you can easily achieve that using Easy Integrations plugin. If you have any issues or problems, you can raise a ticket here and our support team will help you. Cheers Tuncay
-
Hi @Stanislav You can check TTS JQL functions here. slaFunction = isBreached()
-
Hi @Abdul No need to code for this. You can simply define a workflow transition to the same status (which you want this field editable) and give the permission only to the group so that they will only see the transition. Add a transition screen with the field SLA Due Date. That should do the trick. I hope it helps Best
-
Exactly, there are 3 USB ports in that :)
-
Hello @Megha P Have you run Integrity Checker?
-
Perfect! I'm glad that it worked.
-
Hello @Cory Strope Rather than storing every single change in a text field, it would be better to use a read-only/calculated custom field which will directly provide historical dates for duedate field. Let me try with a code snippet below. dueDateChanges variable will hold every date values import…
-
Now it is clear, the tables in this context are: changegroup and changeitem tables. These tables do not store unnecessary log info, I strongly recommend that these tables should not be deleted. You need to think very carefully before you do this. These tables are well-indexed both at the database level and at the…
-
You're very welcome :)
-
If it is a database table, that does not cause any problem if you do not access bulk data. Generally changegroup and changehistory tables are accessed via API and only for specified issues. But if it is a log file (I do not know such a logfile which contains status changes though), you can limit the log file, it is by…
-
Hi @Kalon Mitchell I am a bit confused. Are you talking about a log file or the database table?
-
@Connie Leuderalbert but you've marked the other answer as accepted :)
-
The purpose is to rename the summary field.