Comments
-
https://docs.atlassian.com/atlassian-confluence/REST/6.6.0/
-
Hi @Chong Jing Hong check this link for Confluence server :- https://developer.atlassian.com/server/confluence/remote-confluence-methods/#user-management thanks
-
Hi @Pawel Zawadka Where do i need to share my resume ? Kindly share the email address or link. Thanks
-
@siva Cool! Glad to hear it works for you. :) Kindly mark the solution as Accepted. It helps other users having same problem. Thanks V.Y
-
Hi @LaurieC It's weird same script working fine on my side. Updating checkbox field based on select list field. https://vimeo.com/566126630 Check script runner version, i am 6.28. Check wheater there is some condition on create issue transition ? field is added on the create screen and view screen, right? Thanks VY
-
Hi @Drishti Maharaj There are so many methods to get Workflow, simplest way is to use REST :- https://jira.xyz.com/rest/api/2/workflow/?$format=json ..covert json to csv. OR Use SQL query : - https://community.atlassian.com/t5/Adaptavist-questions/Sql-query-to-get-active-workflows-from-all-projects-in-Jira/qaq-p/590713 OR…
-
Hi @Yhan Masuyo Wow that's great. Script Runner installed in your instance. You can generate correct result using Issuefunction now. Kindly check below links , having all JQL method based on Comment. https://scriptrunner.adaptavist.com/5.4.48/jira/jql-functions.html#_comments…
-
Hi @siva Is it works for you ? Let me know the result.
-
Hi @daniel lee In Team Managed Projects Quick Filter option is missing. Kindly create Company Managed Project, to get this option. Thanks
-
Hi @LaurieC Good News for you. I fixed the issue in the script and working fine now in Post function :) Give it a try. Let me know the result. import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.issue.customfields.manager.OptionsManager import com.atlassian.jira.issue.Issue def…
-
Keep it above Create Issue.
-
Hi @siva Above script works for other transitions. For Create Issue use below script :- import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.event.type.EventDispatchOption import com.atlassian.jira.issue.MutableIssue import org.apache.log4j.Level import org.apache.log4j.Logger def myLog =…
-
Hi @siva I have tested the same on my side. It's working fine. Are you using it on Create Issue transiton ? If yes, then move it below Create Issue event. Check project permissions as well Thanks
-
Hi @siva Then simply use script post function add below script :- It should work. You are right reporter is not avialable in Update issue field. issue.reporterId = "xyz"
-
Hi @siva For this simple task , scripted post function is not required. simply use post function update issue fields . Select Reporter >> Add username For script runner :- issue.reporterId = "xyz" Thanks
-
Hey @Martin Bayer _MoroSystems_ s_r_o__ Need your help mate! No sure why script is not working in post function. Not throwing any error in logs. Kindly review the script and suggest what we are doing wrong. 🤔 Thanks V Y
-
Hi @LaurieC Try below script in post function. import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.issue.customfields.manager.OptionsManager import com.atlassian.jira.issue.Issue def customFieldManager = ComponentAccessor.getCustomFieldManager() def optionsManager =…
-
Hi @Yhan Masuyo In order to use IssueFunction Script Runner plugin must be installed in your JIRA instance. Then only it works. Thanks!
-
Hi @Yhan Masuyo Welcome to Atlassian Community! You need a script runner plugin for this, it's specific to a JQL function. Without Script Runner plugin you won't get the correct result. issueFunction in lastComment("before -5d") Thanks V.Y
-
Hi @Miron Giladi Try below query to get all linked issue of an issue :- issue in linkedIssues("issuekey") . it gives the number of issues linked to a particular issue. issue in linkedIssuesInFilter("10000")…
-
You are getting error because CompoentManager has been moved. import com.atlassian.jira.ComponentManager replace with import com.atlassian.jira.component.pico.ComponentManager https://scriptrunner.adaptavist.com/latest/jira/releases/UpgradingToJira8.html
-
Hi @LaurieC Instead of Post function, you can use behaviour on Select list field and if you don't allow users to edit checkbox field then make checkbox field read only as well using Behaviour. Not sure why post function is not updating. Apply below script in Behaviour on Select List field >> Server Side script. It should…
-
Hi @Sally Abd Elrahman Thanks for the screenshot. I had performed same thing for one of my user. Select Date Modified instead of updated. Use External System Import.
-
Hi @Sally Abd Elrahman If you have a Script Runner or something like that you can write a script to change the last modifed date OR you can do one thing export issues which you want to update in csv, edit csv file and upload the file to update existing issues. Thanks!
-
Cool! Glad to hear it works for you. For Confluence i am not sure, we dont have Script Runner installed in Confluence. Start new Conversation in Atlassian Community for Confluence. Thanks,
-
Hi @Murthy Dusanapudi Run below Script in Script console. in Status column :- False means inactive user and true means active user. import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.security.login.LoginManager import java.text.SimpleDateFormat; import java.util.Date; import…
-
Hi @tirupam1479 For this you need Script Runner plugin or Automation for JIRA plugin. Do you have anyone of them ? Thanks!
-
Hi @Jillian Menoche I have tested the same script on my machine. It's working fine, not giving any error message. You have to insert this in Scripted Post function. import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.security.roles.ProjectRoleManager // The role you want assignees to set from…
-
Hi @Jillian Menoche Welcome to Atlassian Community! You can achieve this using Script Runner , kindly check below link for round robin :- https://library.adaptavist.com/entity/round-robin-assign-issue-to-users-in-a-certain-project-role Thanks
-
You're Welcome :)