Support for Atlassian Server Products (and apps like BigPicture) has ended in February 2024.

Are you planning a migration to Cloud? Make sure you don't lose your BigPicture data/configurations in the process. Check out this page for information on how to migrate BigPicture's data to Cloud. If you have any questions please email support@appfire.com

LiveFields setup

 

Config summary

Here's what you will have after completing this guideline:

  • LiveFields scripts ready;

  • A new LiveFields config added. 

Required permissions

Requires either Jira System Administrators or Jira Administrators global permission. If you don't have such privileges, ask your Jira administrator for help.

LiveFields is a feature in Power Scripts that adds a lot of extra safe-guards ensuring that the users use the functionality as it was intended to be used. We'll use it specifically to modify the default project Jira Issue Create and Edit/View screens so that they are kept as simple as possible so as to not over complicate and ensure users would enter the correct fields when submitting their absences.

 

  1. Go to Jira administration > Manage apps > SIL Manager.

  2. Follow steps 2-6 from under the 'Creating file tree' section from 'Scripts setup' page of this user manual. 

     

    createDirectory("BigPicture/Absences/LiveFields");   string [] files = "hideComment.js|main.sil|watch.sil"; for(string f in files) {     createFile("BigPicture/Absences/LiveFields/" + f); }

     

  3. The following folder tree along with some empty script files should be created after executing the above-mentioned. 

    94.png

     

  4. Use the right click and the 'Delete' option to remove the 'createFiles.sil' script as it is no longer needed. Click 'OK' when prompted to confirm the action.

    95.png

Configuring LiveFields scripts and functionality

Start with configuring LiveFields scripts in Jira administration > Manage apps > SIL Manager.

hideComment.js (download file)

  1. Once opened in a text editor, copy the script text and paste it into the corresponding file from under the 'LiveFields' folder in the SIL Manager. Click the disc icon to save changes.

    You should be presented with a green 'Save done' text afterwards.

main.sil (download file)

  1. Once opened in a text editor, copy the script text and paste it into the corresponding file from under the 'LiveFields' folder in the SIL Manager. Click on a green button to run the code.

    You should see the following confirmation afterwards.

  2. Make sure to save the changes.


    You should be presented with a green 'Save done' text afterwards.

watch.sil (download file)

  1. Once opened in a text editor, copy the script text and paste it into the corresponding file from under the 'LiveFields' folder in the SIL Manager. Click on a green button to run the code.


    You should see the following confirmation afterwards.

  2. Make sure to save the changes.

    You should be presented with a green 'Save done' text afterwards.

Once all the LiveFields scripts are run and saved, it is time to configure the functionality itself which comes down to adding the main.sil script to a LiveFields configuration. 

Go to Jira administration > Manage apps > Power Apps Config > Power Scripts > Live Fields and click the 'Add new...' button.

Fill all the required fields and choose the "Absences" project on which this LiveFields functionality will apply. For the script field, click on the pencil icon and choose the main.sil script. Finally, click 'Select'.

Click 'Add' to finish the process. 

You should end up with your LiveFields configuration looking like this.