Comments
-
@Kristine Lurane Have you checked in custom fields that "Story point estimate" field is available in system and locked. Are you using Team Managed Project or Company Managed Project ? Is "Story Point Estimate" field available on Create/Edit Screen or not ?
-
Hi @Kristine Lurane You can do this easily using following json code in Additional fields :- { "fields": { "Story point estimate" : 100 } }
-
@ChristopherChilds @Have you tested the script ?
-
Hi @ChristopherChilds If you can have script runner, then it makes your task easier to run SQL query in Script Console. Try to run following code in Script Console to get list of project using Default Priority scheme :- I am using SQL query mentioned in the link…
-
@Sigrid Kviteberg In Project Automation , you can use "Field Value Change" Trigger type >> Apply Condition if customfield value = Not in compliance >> Action "Send custom email". It send email only when custom field value set to "Not in compliance".
-
Hi @Sigrid Kviteberg As you are using JIRA Cloud, Using Project Automation you can easily setup Mail notification to Reporter based on Custom field value. If you still need Script runner, then try below code :- I tested code in Script Runner post function "Send Notification", Condition :- package…
-
@rbalamu2 I am not sure any other solution available or not, except postman rest api for bulk addition of user in a role. Via postman you can do it easily, you only to create a csv file , create variable and run the file. Postman will run api for each row. In Atlassian document , bulk adding Actor in project role API not…
-
@rbalamu2 Sorry for misunderstanding the query. First you have to create user via REST API then only you can add user in project role using POST. If you want to do it in bulk , for this you need POSTMAN application. Create a variable for user email address in postman as for creating a user Email address is required , use…
-
Hi @rbalamu2 You can get the number of users in project role simply by running following URL in browser :- First URL gives you the number of roles in projects along with Role ID and project id. Second URL gives you number of users added in project role. 10002 is a Administrator Project role ID. if you have Project ID and…
-
Hi @Andrews Rohit Dean PFA Attach solution with each steps :- Kindly mark solution as Accepted if it works for you, it helps other users who is looking for the same solution.
-
Great! Glad to hear it works for you. For this, kindly apply condition before Action, When Field 2 is empty in that case it is failing. Apply condition like when Field2 . Like when it's empty set value to 0. Thanks
-
Okay, @Andrews Rohit Dean In both cases same mathematical operations works. I hope this helps to answer your question.
-
Hi @Andrews Rohit Dean Welcome to Atlassian Community! Are you trying to update Story points on issue creation? OR want to update story point field when any change in number field value ? In Edit Issue Field Action >> Select Story points field and Insert following value , kindly replace custom field id with your number…
-
Hi @Dana.Harel Kindly enable Wiki Style Renderer from Field Configuration. Kindly go to project settings >> Fields >> Open Field Configuration >> Search field by Name > Select "Renderers" >> Select "Wiki Style Renderer". Similar post…
-
@Florian Bonniec Thanks a lot for your help. Minor correction makes above script working. <td>"${project.name}"</td> <td>"${project.leadUserKey}"</td>
-
Thanks a lot @Ram Kumar Aravindakshan _Adaptavist_ as always for helping me.
-
@Hadas I am not sure how to get description field value in scriptrunner for jira cloud. If it's an api call then result in json right ? In Json for bold result comes in this format :- You can check if contains expected under b":[] then don't make it bold. b": [ "bold", "hold" ]
-
Using Regex try to validate if it's *expected* or only expected is present in desc. If *expected* then no action else change to bold. In scriptrunner you are changing html description into text right ? You can do the same in project automation convert html desc to text then validate using regex.
-
Hi @Hadas I am not sure how to validate bold letter using Project automation or Scriptrunner for cloud. I think Regex not work in your scenario. In this smart values need to create. Let me add Project automation expert in our chat. @Bill Sheboy Can you please us in validating and updating plain letter into Bold letter.
-
@Nannette Mori Kindly share the complete script which you applied on af (select list field) behaviour. Might be some mistake in script.
-
@Hadas if you using JIRA Cloud, it's better to use Project automation instead of scriptrunner.
-
Hi @Hadas Using following regex you can validate the letter between asterisk *letter* or not. If *vikrant* is written then it's true otherwise it's false. Regex code :- \*.*?\*(?!\.\S) You can test the code here :- https://regex101.com/ Let me know, if this regex not working as per your expectation. Thanks V.Y
-
Hi @Nannette Mori Apply Behaviour on AF field and add below script, You are missing getValue in your script :- def af = getFieldByName("AF") def afo= getFieldByName("AFO") log.debug("dropdown value" + af.getValue()) if (af.getValue() == "Other") { afo.setHidden(true) }else { afo.setHidden(false) } Thanks
-
Hi @Ram Kumar Aravindakshan _Adaptavist_ @Hector Salvachua Thanks for the solution and sharing the existing issue link. Here is the working script :- import com.atlassian.jira.component.ComponentAccessor import com.atlassian.jira.issue.fields.screen.FieldScreenFactory import…
-
@Ram Kumar Aravindakshan _Adaptavist_ Kindly help Jakub regarding Script Fragment.
-
Hi @Bhagavan Goud Are you using JIRA cloud or local host JIRA server ? If you using JIRA Cloud you can check this link for creating project via Rest API :- https://www.youtube.com/watch?v=jrYbx-3Px9A
-
Hi, The script is to Hide Clone option from Menu and it doesn't break jira UI. If you apply web panel at wrong location in that case it might break Jira UI. Hide UI elements only hide options and nothing else. There are multiple script fragment types which one your tried ? May i know your exact purpose for using script…
-
@Bhagavan Goud Are you able to create project manually from front end ?
-
@Bhagavan Goud Do you have JIRA Admin permission, as per the error message it seems that you don't have project creation access ?
-
Hi @Jakub Cieplinski For this you have to use Script Fragment feature of Script runner. In Script Fragment use "Hide System or Plugin UI element". In Hide What section, select clone-issue only In Condition Block , enter the condition based on your requirement :- import com.atlassian.jira.component.ComponentAccessor…