Hello Helen,
Welcome to Atlassian Community!
I believe you are trying to automatically update a field with a specific value when the issue is transitioned, by using a post function with a SIL script provided by Power Scripts App. Is that correct?
The Sil code for that will depend on which fields you are trying to update, but basically you would just need to set the field description/ID with the value you wan. Let me give you an example:
Supposing you would like to update your description when the issue is created, you should follow the steps below:
1 - Create your SIL Code with an editor with the following content:
description = "the value you want"
2 - Navigate to your project > Project Settings > Workflows > Edit > Click in the start transition of your workflow > Post function
3 - Add a SIL post function, selecting the script you created in step one
To know more about SIL post functions and more examples, please check the documentation below:
Let me know if this information helps.
The Customer Request Type field has several values. The task is to populate the Customer Request Type field relative to the value in another field. An example of my SIL Code:
if(customfield_15503 == "Jira"){
customfield_10230 = "Jira (Project)";
}
But the value "Jira (Project)" is not put in the Customer Request Type field (customfield_10000).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.