Comments
-
Hi, Do you know gg function of jira? Press gg on your keyboard and then search where you want to go. For example press gg and search for script console. On script console, you can test your scripts. But, what you need to do here is, as I said in my above comment, you need to add the script as a condition on your workflow.…
-
Hi, Check out this documentation, this is a different example but what you need is also a simple scripted condition : https://scriptrunner.adaptavist.com/latest/jira/recipes/workflow/conditions/simple-scripted-condition.html When you write a condition, if the result returns true, that user can make the transition. So, here…
-
Exactly where and how are you experiencing this problem, is it a custom field or something else? Are you manually changing or copying with a script? I can try to replicate the problem and get back to you.
-
Hi, Can you go to admin users page? Here you should see the export button: Check out this link: https://confluence.atlassian.com/cloud/export-users-833925313.html Some sites may temporarily not be able to export users. Contact support if you need to export users and are unable to do so. Regards, Elifcan
-
Hello, As you already know if you had Jira Server, you could have this info by querying the database. However this is not possible for Cloud. But you can try user import on Cloud and then filter the CSV file according to last active date. You can export users on your-jira-url/admin/users/export. Hope this helps, Regards,…
-
Hello, Could it be because it picks up the backslash as an escape character for _ character? Can you try with two backslashes like: P:\sample\\_material\sample I'm not absolutely sure about this but it was the first thing that came to my mind. Regards, Elifcan
-
Hello, Did you create two different screen schemes for your two different projects? It looks like your projects are sharing the same screen. Check the screen schemes that are used by your projects. Regards, Elifcan
-
Hello, If you are on Jira Server and have Script Runner, you can write a script condition such as: issue.assignee == null Or if you have Suite Utitilies plugin you can use Value Field condition, too. But you need to add it to all your transitions, of course. Hope it helps. Regards, Elifcan
-
Hello, I think this is happening because of remember me option. You can disable it by editing a file on your server. Check out this document: https://confluence.atlassian.com/adminjiraserver073/prevent-automatic-login-861253178.html I think this will solve your problem. Regards, Elifcan
-
Hey, yes that's what I was gonna suggest next after reading your comment :) glad it helped. Cheers.
-
Hello, I couldn't understand what you mean by "as this is pulling in issues going back in time" but you can change the AFTER startOfDay() as you wish. For example you can use ON '2018/12/12' for specific days. This means on 2018/12/12 the assignee was that user and that user was not logged in by that user. Does something…
-
Hello, I agree with @Joe Pitt, your options are very limited here. But I also want to ask you, are you absolutely sure you want something like that? Because if you have many tickets opened throughout the day, it will look like fireworks on your screen. You will see a red pop up on your screen repeatedly. These kind of…
-
Hello, Could you try it like this? import com.atlassian.jira.issue.MutableIssue; import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.issue.fields.CustomField def customFieldManager = ComponentAccessor.getCustomFieldManager() def customfield =…
-
Hello, I tested and noticed that worklogAuthor != user works only if somebody else logged on the issue. If nobody logged work, then it doesn't show the issue on the list. If you have script runner plugin then you can write something like this: issueFunction not in workLogged("by elifcan") and (assignee was in (elifcan)…
-
Hello, I don't think there is an out of the box solution for this. If you have script runner add-on, you can write a scripted condition that checks the field value and allows users in a specific group in jira, if you keep these teams as groups. Such as: if team=teamA and logged in user is in group teamA then…
-
Hello, Seems like it is a bug on Jira Cloud. You can find the bug ticket here: https://jira.atlassian.com/browse/JRACLOUD-71354?_ga=2.166154174.1407040917.1547460197-747249076.1541400997 I think they will be taking action in a very short time since this is a high priority bug. Regards, Elifcan
-
Hello, Did you try to debug the code? For example, you can print the originalAuthor to the screen in order to see if the script can actually catch the user who made the comment. You say script works from Software project to Service Desk project but not working vice versa. Could it be because the user who comments on…
-
Even when I created a new issue and assign to other assignees In this case you need to check for "issue assigned" notification on the notification helper, because you first create the issue then assign it. You need to choose that issue and that user, see what it says. Also click on Show failed conditions. Other than that,…
-
Hello, Did you check out this document? By default Jira doesn't send notifications for your own changes. That's why you don't probably getting any mails. You can also check if you would receive notification on the notification helper.…
-
Oh, then you should open another question for that. I don't have much experience with creating plugins, but some other expert could help you. Best, Elifcan
-
Sure, what seems to be the problem?
-
You're welcome, I hope it works out for you.
-
Well, they are still working on a single project. If reporting is what concerns you, you can use components to differ your reports. Also there is issue links, which indicates that your two issues (although two different teams are working on it) are related. Also as I suggested above, using subtasks would be another…
-
Hello, That is because on Jira Cloud, outgoing mail is automatically set. You don't make any configurations. If you don't get any mail notifications, that must be because of a configuration of your project's notification scheme. You should check your notification schemes. Regards, Elifcan
-
Then, I think you need to use clone issue option. You can use components to differ your teams and when you clone the issue you can change the component of each issue to the related team. That would be the best option, I believe. Regards, Elifcan
-
Hello, You mean with groovy script using the Jira API, right? If that so, you can do it like this: com.atlassian.jira.component.ComponentAccessor<br>import com.atlassian.jira.issue.MutableIssue<br>import com.atlassian.jira.issue.fields.CustomField<br><br>def issueManager = ComponentAccessor.getIssueManager()<br>def issue =…
-
Hello, No, you can't have a workflow that have two statuses at the same time. It is against the principles of Jira, in my opinion. You can use subtasks to seperate issues that you want to have different statuses. Or you can create a custom field that will serve as an extra status. But it is difficult to comment without…
-
Hello, I don't understand what you mean by: I want to set the logged in user to this: final def authCtxInternal = com.atlassian.jira.component.ComponentAccessor.getJiraAuthenticationContext(). This is a line that imports and defines the authentication context on your code. Anyways, setLoggedInUser is a valid method as far…
-
Hello, Do you want to get the name of the logged in user? Because the script you shared is using setLoggedInUser method and it does something different. Could you try it like this? import com.atlassian.jira.security.JiraAuthenticationContext;<br><br>def authenticationContext =…
-
Hello, Sorry for the late response. Could something like this work for you then? (assignee was in ("elifcan") AND status changed) OR (issueFunction in commented("by elifcan")) or (assignee was in ("elifcan") AND status changed FROM "To Do" TO "In Progress") OR (issueFunction in commented("by elifcan")) Or you could try a…