Comments
-
Hi Could you try this script ? It has to be placed at the top of the postfunction list. import java.time.LocalDateString previousStatus = issue.status.namedef status = ['Triage', 'Not Started', 'Ready for Team']if (previousStatus in status) { issue.set { setCustomFieldValue('Start Date', LocalDate.now())…
-
Hi @Sam In AR you need to commit your change 'on the top right' in order to have them pushed to JIRA. Otherwise it will exist only in AR not JIRA. That's why there is no number as issue key, the issue is not create in JIRA yet.…
-
OK if you are using a post-function issue.set should work, you may have error in your script or condition is never true. If you are in a transition from 1 status to another why to you need to validate the previous status ? Also I would have use new Date() instead of LocalDate About automation you could create 2 rule that…
-
Hi @Dani Miles What I used to do is to create a single issue in a test project, then update this issue using CSV import, if you are an admin and your are using the Import From external system it wil create the options. You just have to import Key, Summary and Field value. TEST-1, summary, value1 => value2 Reagrds
-
Hi @Velkuri Balaji It seems that the value you are entering in getUserByKey is an array an not a String. Without the script it's hard to guide you but I would say that at line 10 you have something like getUserByKey(variable) where variable is not a string, you could use variable?.first().toString() Regards
-
Are you using a postfunction or a listener ? Could you not use Automation for JIRA instead ?
-
Hi @Mary Mark You script do not seem right but I may be wrong. If you have a recent version of Scriptrunner you can use HAPI to update the issues.https://docs.adaptavist.com/sr4js/latest/hapi/update-issuesReagrds
-
Hi @Christopher Morton Not sure if it's a bug, the @ is used to mention someone and create a link to the profile page of the user. So it could not be used to link to another link no ? Regards
-
Hi @dallu divya Not sure to understant exactly what you are looking for but does this could solve your issue ? https://jira.atlassian.com/browse/JRASERVER-24152 using ~ Reagrds
-
Hi @Akash Acharya You could use this example to build your script. https://library.adaptavist.com/entity/dynamic-select Regards
-
Hi @tuan quan Is this field type the one that come from JIRA or is it one that is added by an app ? Regards
-
Hi @Ruben Jigal Alcantara Kliche It seems to not be possible. Please have a look to the documentation Who can grant access? When a user requests access to a restricted page, Confluence will send an email to up to 5 people who are most likely to be able to grant access, in the following order: * people who have contributed…
-
Hi @ghanshyam Is that what you are looking for ? https://docs.atlassian.com/software/jira/docs/api/REST/9.10.0/#api/2/issue-getCreateIssueMetaProjectIssueTypes If it's not listed that means it's not available. Reagrds
-
Hi You have to disable SSL verification. https://learning.postman.com/docs/sending-requests/certificates/#troubleshooting-certificate-errors Reagrds
-
Base on the following KB, this should works https://confluence.atlassian.com/jirakb/retrieve-project-schemes-and-categories-for-all-jira-projects-via-the-database-1085181544.html select prjkey,prj.lead as Prjlead,cte.AssocScheme as Category,cname from project prj join (select p.id as pid, p.pkey as prjkey,sink_node_id as…
-
Could you paste the entire stack-trace ? The one under the status code you have attached to your initial post ?
-
Hi @Becky Welcome to the community. People that answer to community question are not part of the atlassian support. You can reach the support by going to the bottom of this page. https://support.atlassian.com/ Regarding your issues, it appear when something is wrong on the confgiuration of your board. In my case it's often…
-
Hi @veeru You can use the database schema shared by atlassian to see table relation. https://developer.atlassian.com/server/jira/platform/database-schema/ Regards
-
HI @aissa brahimi Did you set the JAVA HOME ? https://confluence.atlassian.com/jirakb/how-to-change-the-java-version-used-by-jira-765594330.html Regards
-
Hi I usually use Autoamtion to reduce as much as possible the code to write but everything could be done by Scriptrunner. You could create an Automation for JIRA that is an app included in JIRA or Free if you are using a Data Center version. Create an automation with Field value changed as trigger, then select the…
-
Hi @uvo3 main public name You could use automation for JIRA to listen the Field change then run a scriptrunner action that will get all issues that have the value and not linked yet. You could use a script like this one to achieve what you are looking for String issueKey = issue.key String fieldValue =…
-
Hi @barry kimelman You can go to the issue histtory available at the bottom of the issue to figure out who was assigned before you, then update the assignee by clicking on the current value (your name) then search for the previous name you found in the history. Regards
-
Hi @Kenneth Muñoz You can hide them in the description or comments. https://support.atlassian.com/jira-service-management-cloud/docs/hide-email-signatures-in-the-issue-view-and-portals/ I think you cannot remove them https://jira.atlassian.com/browse/JSDCLOUD-6037 https://jira.atlassian.com/browse/JSDCLOUD-11814 Regards
-
Hi @Naresh k You should not face this issue from Server to DC as it's just matter of license update. Are you moving to Cloud ? Public vs Private filters depends on the share permission you apply to each filter. I think you have to change the permisison on every filter. Best way to do it is to use a script using…
-
Hi @lmaciej Scriptrunner may be the solution for your use case. I've never implemented it. https://docs.adaptavist.com/sr4js/latest/features/behaviours/behaviours-examples/select-list-conversions#id-.SelectListConversionsv6.35.0-CreateandTestEndpoint Regards
-
Not sure if it's the explanation but I noticed that between the 100% and acknowledge, JIRA seems to write index stats.
-
You can try return (issue.get("issuetype").getName() in<span> [</span>"XXX","YYY"] && issue.get("project").getKey() in ["YYYY","XXXX"]) Regards
-
Hi @Spruha Shah When possible it's easier to use a dedicated workflow for your project and issue type instead adding complexity in the current workflow using conditions. If you want to use condition you should be able to use something like that: return (issue.get("issuetype").getName() ==<span> </span>"XXX" &&…
-
I've not find documentation about that but by experience it's the behaviour I've observed. Regards
-
Hi @AisM I think it's because the validation of the JQL is done in the Issue Navigator only. So your JQL validation failed and it do not go further. Using an existing filter in a board do not validate the JQL. It's also the case if you run the JQL in a script for instance. Reagrds