youngmon/atlassian-qna huggingface dataset:
Update restriction field with automation
Asked by Matteo Gabanini:

Hello everyone!

I want to update the restriction field (the one with the padlock) using the automation; the values to put it's the same of a custom field.

I tried to use the JSON format, but it seems that the name "issuerestriction" (I find this name invaked the createmeta API) is not correct.

I hope someone can help me :D


Answers:
author: ?????? ?????_Florian Valiente_
body: [@Matteo Gabanini](/t5/user/viewprofilepage/user-id/4574173)Just sharing how I was able to do it on my side  

* Send Web Request
  * Web Request URL: https://\<your-instance-url\>/rest/api/3/issue/{{issue.key}}
  * HTTP Method: PUT
  * Web Request body: Custom Data
  * Custom Data
    *

      ```
      { 
        "fields": {
          "issuerestriction": {
      ????  "projectrole": [
            {
              "restrictionValue": "<role-id>"
            },
            {
              "restrictionValue": "<other-role-id>"
            }
          ]}
        }
      }
      ```

    * the role-id I got by querying an issue that had the restrictions set via UI
  * Headers
    * Content-Type: Application/JSON
    * Authentication: Basic \<your-email-address and api-token encoded in base64\>


author: Mikael Sandberg
body: Hi [@Matteo Gabanini](/t5/user/viewprofilepage/user-id/4574173),

Welcome to Atlassian Community!

If you by restriction field means the one that sets the security on the issue then you are looking for the field called security level.

comments: author: Matteo Gabanini
body: Hi [@Mikael Sandberg](/t5/user/viewprofilepage/user-id/853579)

thanks for you answer!

No, I mean this field:

![Screenshot 2024-06-17 104210.png](https://community.atlassian.com/t5/image/serverpage/image-id/330125i77D211E369D5585A/image-size/large?v=v2&px=999 "Screenshot 2024-06-17 104210.png")

I want to set a specific role using an automation.

Thanks,

Matteo


author: Mikael Sandberg
body: That is the security level field, so the field name you are looking for is Security Level.


author: ?????? ?????_Florian Valiente_
body: [@Mikael Sandberg](/t5/user/viewprofilepage/user-id/853579)  

Not OP, but I am on a team-managed (next-gen) board, and when I try to set the Security Level field in the automation it gives me an error  

> Unknown fields set during edit, they may be unavailable for the project/type. Check your custom field configuration. Fields ignored -  
> Security Level (security)


author: Matteo Gabanini
body: [@?????? ?????_Florian Valiente_](/t5/user/viewprofilepage/user-id/5294358) I have the same error. I'm sorry to not have update the thread before, I was on holiday and than I forgot this -.-


author: ?????? ?????_Florian Valiente_
body: [@Matteo Gabanini](/t5/user/viewprofilepage/user-id/4574173)No worries!  

<https://community.atlassian.com/t5/Jira-questions/How-can-i-set-issue-restriction-when-using-Jira-API-to-create-an/qaq-p/2487507> \<\< I am currently trying to set it via the API, I will let you know if I am able to do it via the Automation HTTP Request


Tags: cloud

jira-cloud
Validation to require Parent EPIC on Issue creation
Asked by Glenn_Riley1:

Is there a way to validate that the reporter has added a parent epic to an issue (Story or Defect (bug) when they are creating them?


Answers:
author: Mohanraj Thangamuthu
body: Hello, Good day. You can try adding "Epic link"/"Parent" field to the issue creation transition in workflow.

![Screenshot 2024-06-14 at 8.59.19?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/329966i2579E4D162CD7873/image-size/large?v=v2&px=999 "Screenshot 2024-06-14 at 8.59.19?PM.png")


Tags: cloud

jira-cloud
Migrate value of all issues from a custom field
Asked by William van Dalen:

Hi,

Because we intend in from now to use a specific custom field (team picker) instead of a self defined custom field, we want to migrate the values of the self defined custom field (field 1) to another custom field (team picker)( field 2),

First we have to migrate the values of field 1 into another format. For example: the value of the self defined custom field (Field 1) is "Team Blue". Because the format of the team picker field (field 2) is "The Blue Team" we have to migrate the value of the self defined custom field (field 1). Then i'd like to copy all the values of all existing issues of field 1 to field 2.

From that moment we remove field 1 and use using just field 2 Does anyone know how can i achieve this?

With kind regards, Will


Answers:
author: Nicolas Grossi
body: [@William van Dalen](/t5/user/viewprofilepage/user-id/892763) Please take a look at the following link: <https://community.atlassian.com/t5/Jira-Service-Management/How-to-migrate-data-from-issue-custom-field-to-another-custom/qaq-p/2171647>

Nicolas

comments: author: William van Dalen
body: Hi Nicolas,

The link you referred to was very helpful, but i get several equal errors while importing. The following error appears:

Cannot add value \[ \[...\] \] to CustomField Team in Issue with summary '': Error fetching the team with the given Team Id

It seems there is an error with the Team ID, but do you know how to map the right ID?

With kind regards. Will


Tags: cloud

custom-field

jira-cloud
Advanced Planning Initiatives in Plan but not in Jira Issue Type Hierarchy
Asked by Frank Castellucci:

We have a site under an Atlassian Cloud Premium instance.

With Advanced Roadmap one had the ability to create an Initiative for planning that existed outside of the Jira Issue Type hierarchy.

In using Advanced Planning ('Plan') I do not see that ability but it appears I must add Initiative to the hierarchy.

I am a site-admin for the site and just not seeing how to accomplish?


Answers:
author: Duc Thang TRAN
body: Hello [@Frank Castellucci](/t5/user/viewprofilepage/user-id/5515065)

You need to check on Setting -\> issue types -\> issue types hierarchy

Normally, you should see the settings for your instance.

If there are other levels higher than epic, you should be able to see and display them on your Plan.

comments: author: Frank Castellucci
body: [@Duc Thang TRAN](/t5/user/viewprofilepage/user-id/5371199)

My question is whether creating an Initiative outside of touching the Jira Type hierarchy was available in advanced planning as it was in advanced roadmap?


author: Duc Thang TRAN
body: [@Frank Castellucci](/t5/user/viewprofilepage/user-id/5515065)

For me is not possible


Tags: cloud

jira-cloud
How to lock tickets creation in the company-managed project
Asked by Yuliia Vyborova:

Hello! Is there a way to lock tickets creation without archiving the project? When we archive old project, some tickets were lost in relationship with other tickets. i.e. Epic has DRCORE tickets, when I archive the DRCORE project, those DRCORE child tickets got lost. When I restore DRCORE project back, tickets were back too.


Answers:
author: Nikola Perisic
body: Hello [@Yuliia Vyborova](/t5/user/viewprofilepage/user-id/3597151)

Use a permission scheme that is tied to the project and for the Create issues permissions limit it only to project role (or a group) that you want to be creating issues in this project.

comments: author: Yuliia Vyborova
body: got it, thank you [@Nikola Perisic](/t5/user/viewprofilepage/user-id/5166624)


author: Nikola Perisic
body: Hi [@Yuliia Vyborova](/t5/user/viewprofilepage/user-id/3597151)

Kindly accept this answer, so other people can reference it when looking for an answer, thanks.


Tags: cloud

jira-cloud
My pages are gone
Asked by Aleksey Korolev:

My Confluence had several pages with reports.  
Now I logged into my account and found that they were gone(  

There is a link to one of the pages:  
<https://go-bug-report.atlassian.net/wiki/spaces/Coursach/pages/360449/1+2>  

Help me restore it please


Answers:
author: Nikola Perisic
body: Hi [@Aleksey Korolev](/t5/user/viewprofilepage/user-id/5521043)

To restore a deleted page, you need to be a space administrator. To restore: Space settings \> Trash \> Find your page click on restore.

If you still cannot it, it might be archived rather than deleted. The process is the same, just instead ho to Archived pages.

You might have lost the permission to view the page. Go to Restricted section and check if this page is appearing in here.

If none of the above applies to your case, then this means that the page has been permanently deleted and cannot be restored.


author: Juan Carlos Pin
body: Hi Aleksey!

Maybe they were deleted, try to check the Trash, if your a Space Admin:

[Delete, restore, or purge a content item \| Confluence Cloud \| Atlassian Support](https://support.atlassian.com/confluence-cloud/docs/delete-restore-or-purge-a-page/)

![Captura de pantalla 2024-06-14 135247.png](https://community.atlassian.com/t5/image/serverpage/image-id/329902i65C23151550CA4A5/image-size/large?v=v2&px=999 "Captura de pantalla 2024-06-14 135247.png")

comments: author: Aleksey Korolev
body: How to get to this "Manage content" panel?


author: Aleksey Korolev
body: Found it, thanks


Tags: cloud

confluence

confluence-pages

jira-cloud
Jira automation trigger on start date
Asked by sahar sedieqie:

Hi,

I want jira to email me an automatic message when start date is today.

I need to add a trigger for this but don't know which trigger to choose.

Example: a ticket has been created with the start date June 15. As soon as June 15th comes, I want jira automation to send me an email with my text.

How do I ensure that Jira sends me an email on this date?

thanks!![Screenshot 2024-06-14 120027.png](https://community.atlassian.com/t5/image/serverpage/image-id/329888i3C431FD949E1032B/image-size/large?v=v2&px=999 "Screenshot 2024-06-14 120027.png")


Answers:
author: Tansu Akdeniz
body: Hi [@sahar sedieqie](/t5/user/viewprofilepage/user-id/5520965)

Welcome to the community.

Please check this page: [Automation for Jira - How to trigger an automation rule based on a due date field](https://support.atlassian.com/automation/kb/trigger-an-automation-rule-based-on-due-date-field/)

Alternatively, you can [subscribe to a filter](https://support.atlassian.com/jira-software-cloud/docs/manage-filters/) instead of automation.


author: Morgan Watts
body: There is a "Scheduled event" automation trigger that can be set up to run at specified times. Jira allows for advanced CRON expressions or just clicking through the "basic" section to choose whether it runs every X days, weeks, months at X time.

I've used it for a few different use cases, most recently it'll automatically transition cards further along in the process after X time and certain criteria is hit to help review processes continue in the case a user forgets to move the issue card. ![Screenshot 2024-06-14 105711.png](https://community.atlassian.com/t5/image/serverpage/image-id/329960i7DA6002406301C46/image-size/large?v=v2&px=999 "Screenshot 2024-06-14 105711.png")


Tags: cloud

jira-cloud
Resource dependencies for timeline tab
Asked by Steven DANTAS:

In the Chronology section, there is no alert for tickets with an overlapping date with 2 unrelated tickets, but which have the same resource (person in charge of the ticket). Is this normal?


Answers:
author: Walter Buggenhout
body: Hi [@Steven DANTAS](/t5/user/viewprofilepage/user-id/5520985) and welcome to the Community!

Just based on your input, I would be tempted to say *"Yes"*, this is normal. If you are using a free version of Jira, using the built-in timeline view with no marketplace apps installed, you don't have a resource planning tool in your hands. The timeline is a visual representation of the start and end dates on the issues in your project, with also a view of issue links representing a relationship or dependency between them. It is nothing more.

If you *do* have a resource / capacity app installed, it would help us if you could mention which one it is and share more details about your specific scenario.

Hope this helps!

comments: author: Steven DANTAS
body: Hi [@Walter Buggenhout](/t5/user/viewprofilepage/user-id/783225) , we are in free plan ! thanks for the answer.


Tags: cloud

jira-cloud
How to measure Sprint Commitment, Sprint Completeness & Scope Creep
Asked by Nacho Cortes:

Hi community!

I'm working on JIRA Dashboards to be able to visualize different points and aspects of our different teams.

Right now I feel a bit stucked on this one "How to measure Sprint Commitment, Sprint Completeness \& Scope Creep".  

I know that there are JIRA Reports like the Burn Up Chart which I find pretty visual, that currently shows all this information.  

The issue here is that I've to manually add the values into an spreadsheet so that I can see an Sprint by Sprint evolution.  

Is there any way, no matter if a plugin is needed or not to visualize all this information in a JIRA Dashboard? I'd like to have more agency on which type of dashboards and information I can display right there so that each team can have a single report.


Answers:
author: Danut M _StonikByte_
body: Hi [@Nacho Cortes](/t5/user/viewprofilepage/user-id/1648020),

What you actually need is a team velocity chart that displays all these number of you. Unfortunately Jira does not offer a velocity gadget.

Our **[Great Gadgets](https://marketplace.atlassian.com/search?query=stonikbyte%20great%20gadgets%20agile)** app offers all you need to track these numbers, as well as many other metrics.

The **Velocity Chart gadget** offered by our app lets you visualize the commitment, completeness, scope creep and many other metrics for the sprints of your teams.

Here is an example with the numbers you want:

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/330022i24D653027A25AA23/image-size/large?v=v2&px=999 "image.png")

On its **Data** tab it offers details numbers for each sprint.

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/330020iB8A8F665E18B6D4B/image-size/large?v=v2&px=999 "image.png")

It works with any type of estimate, can include sub-tasks and is fully localized in ES \& PT.

See more about this gadget (and the many others offered by the same app) in these articles:

* <https://community.atlassian.com/t5/App-Central/8-gadgets-for-a-powerful-Scrum-dashboard-in-Jira/ba-p/1683063>
* <https://community.atlassian.com/t5/App-Central/How-to-track-scaled-agile-SAFe-projects-in-Jira-with-Great/ba-p/1929694>

You could start with **1-month free trial**. If you have any questions, feel free to contact us at support@stonikbyte.com.

Hope this helps.

Danut.


author: Trudy Claspill
body: Hello [@Nacho Cortes](/t5/user/viewprofilepage/user-id/1648020)

I did a search for possible apps in the Atlassian Marketplace. Here's the search I used:

[https://marketplace.atlassian.com/search?hosting=cloud\&product=jira\&query=sprint%20velocity%20dashboard](https://marketplace.atlassian.com/search?hosting=cloud&product=jira&query=sprint%20velocity%20dashboard)

It looks like there are a few that could help you. I don't have experience with any of them so I don't have a specific recommendation for you.


Tags: cloud

jira-cloud
Automation outputs 0
Asked by Dennis Butijn:

Hi there, I had an automation rule running for a while but after some time it broke. I think it had to do with me creating a 2nd project with the same fields for the same issue type.

In my example I created 3 custom fields under a user story "Art tracked hours - Item", "Design tracked hours - Item", and "Tech tracked hours - Item". In the sub-task field, I also added 3 custom fields "Art tracked hours - Sub-task", "Design tracked hours - Sub-task" and "Tech tracked hours - Sub-task". I got 3 similar automation processes running, one for art, design and tech. Whenever for example the art tracked hours - sub-task is updated, it should sum up all the art tracked hours from all sub-tasks in the story, and place that value in Art tracked hours - item of the user story.

This all worked fine, but it now outputs 0 for some reason.

I'm using the code {{issue.subtasks.map(fieldValue("Design tracked hours - Sub-task")).sum}}.

I'm aware of the field having 2 "m" at the end. Due to the other project it found 2 of these fields so I had to rename this one.

I did check and they are the same field type (both numeric fields).

![image_2024-06-14_112915334.png](/t5/image/serverpage/image-id/329880iE223E39D8F5DB873/image-size/large?v=v2&px=999 "image_2024-06-14_112915334.png")![image_2024-06-14_113539231.png](/t5/image/serverpage/image-id/329882i5A41B590C9A1320B/image-size/large?v=v2&px=999 "image_2024-06-14_113539231.png")![image_2024-06-14_113553804.png](/t5/image/serverpage/image-id/329883iA543738A94A96D20/image-size/large?v=v2&px=999 "image_2024-06-14_113553804.png")


Answers:
author: Laura Campbell _Seibert Media_
body: HI [@Dennis Butijn](/t5/user/viewprofilepage/user-id/5520933) and welcome to Community.

In your Automation logs, does it say that your rule is executing? Or is it failing? Could you give a screenshot of your rule logs?

comments: author: Dennis Butijn
body: Yes, it is executing![image_2024-06-17_101832372.png](https://community.atlassian.com/t5/image/serverpage/image-id/330120iFFFE1EA585090838/image-size/large?v=v2&px=999 "image_2024-06-17_101832372.png")


Tags: cloud

jira-cloud
I would like to prevent logging of working time with a child issue connected.
Asked by D?browski Damian:

Hi Community,

I have an epic in project X. Login uptimes are disabled on the epic. Users attach child issue to this Epik. What would I like to achieve? I would like to prevent logging of working time with a child issue connected. But only on this, not on the entire project.

Damian


Answers:
author: L?gia Zanchet
body: Hi D?browski.  

Apart from the great suggestion from Hariharan, another feasible workaround would be to create a specific status in the workflow so that you can add the [property](https://support.atlassian.com/jira-cloud-administration/docs/use-workflow-properties/) jira.issue.editable = false  

Moving the Epic to that specific status with the property will prevent users from performing any changes.  

Hope that helps


author: Hariharan Iyer
body: Hi [@D?browski Damian](/t5/user/viewprofilepage/user-id/4854136) ,

It may not be possible to do disable editing for a single epic, but what you can do, is set up an automation that restores the original value in case of any change. Here's an example that I use for Story Point Estimate

![2024-06-17_12-05.png](https://community.atlassian.com/t5/image/serverpage/image-id/330103iB0374888679CD09C/image-size/large?v=v2&px=999 "2024-06-17_12-05.png")

You will need to modify the field in the above example and also add an additional condition to check the epic according to your requirements.

Hope that helps!

\~ Hariharan


Tags: cloud

jira-cloud
Can't add gadgets to a dashboard
Asked by Peter Skaarup Jensen:

This question has been raised before, men no solution was provided:

<https://community.atlassian.com/t5/Jira-questions/Can-t-add-gadgets-to-a-dashboard/qaq-p/2366250>

Has anyone experience with the issue and a solution at hand? Would be much appreciated.

Kind regards

Peter


Answers:
author: Ash Yadav
body: Hey [@Peter Skaarup Jensen](/t5/user/viewprofilepage/user-id/5517628)

* What version of DC are you running for Jira and are these native apps or add-ons? If they are add-ons, please name them and provide the version.
* Does this impact every dashboard in your instance?
* Has it ever worked in the past?

Data center instances can be quite tricky to troubleshoot over forum posts as there are a large amount of configurations that are possible, can be difficult to find a blanket solution so the more we know about your environment and situation, the better.

If the gadgets are 3rd party add-ons I would recommend disabling and enabling them again. Better to perform this in a test environment if this is a production service.

If you have access to the logs, even better.

KR,

Ash

comments: author: Peter Skaarup Jensen
body: Hi Ash

Thanks for your reply.

It is a bit mysterious, as it only concerns one user at the moment. We have off course deleted browser data on the users laptop, but it didn't help.

It has worked before, but not since we recently upgraded to Jira v9.12.8. As far as I can see we use native apps.

Have you heard about this before?

Kind regards,  
Peter

<br />

<br />


author: Peter Skaarup Jensen
body: Hi Ash

I have now found the solution to this issue, and it was related to the browser.

Kind regards,  
Peter


Tags: data-center

jira-data-center
Question IN MODERATION
Asked by Lea Beckmann:

Dear Atlassian Mods,

My second question is stuck in moderation, can anyone fix this? :)

Thanks a lot!


Answers:
author: John Funk
body: Hi Lea,

I have freed the question from the clutches of moderation bots. :-)

comments: author: Lea Beckmann
body: Amazing, thank you!


author: John Funk
body: You are welcome. And I even answered the question for you. HA!


author: Lea Beckmann
body: You are a genius!


Tags: cloud

jira-cloud

moderators
Automation for sub tasks from automated tasks created by mail trigger
Asked by Jayesh:

I have completed the automation for task creation from mail trigger, but i am not able to automate the process in a way that automatically sub tasks will also be created along with the tasks created.  
Thank you for the help.


Answers:
author: Bill Sheboy
body: Hi [@Jayesh](/t5/user/viewprofilepage/user-id/5518854) -- Welcome to the Atlassian Community!

For a question like this, please post an image of your complete automation rule, images of any relevant actions / conditions / branches, an image of the audit log details showing the rule execution, and explain what is not working as expected. Those will provide context for the community to offer ideas. Thanks!

Kind regards,  
Bill


author: serge calderara
body: Hello,

After creating your task though automation using the **Most Recently created** action and add your subtask.

If you take some times to google a bit there is plenty exemple

<https://community.atlassian.com/t5/Jira-Cloud-Admins-questions/automation-tasks-and-subtasks-creation/qaq-p/2050671>

regards


Tags: automation

cloud

jira-work-management

sub-task
Run Web Request for Each Value of multi-select list
Asked by Vikrant Yadav:

Hi Guys,

Need help in creating an automation flow.

I am trying to send a Web Request for each value available in multi-select list field.

HTTP Request is working and able to get the desired JSON response for each multi-select list field value. But now I want to append each HTTP request result into a read-only text field. Kindly suggest, how can I append data into a single field.

![Screenshot 2024-06-14 at 1.02.38?PM.png](/t5/image/serverpage/image-id/329862i3951F8A6492F7451/image-size/large?v=v2&px=999 "Screenshot 2024-06-14 at 1.02.38?PM.png")

![Screenshot 2024-06-14 at 1.12.08?PM.png](/t5/image/serverpage/image-id/329863i71C6E8588FF5A46E/image-size/large?v=v2&px=999 "Screenshot 2024-06-14 at 1.12.08?PM.png")


Answers:
author: Paulo Meirelles
body: You cannot change the read only field, maybe is better to create a new field and add the new information to this field with the correct information that you want to fill.

comments: author: Vikrant Yadav
body: Hi [@Paulo Meirelles](/t5/user/viewprofilepage/user-id/5521361) Does it work for multi-line text field? Like appending new values.


author: Paulo Meirelles
body: When you create the new field "custom" you can define it as multiple choice list

![Capturar.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/347113iAE2511F793041C87/image-size/large?v=v2&px=999 "Capturar.JPG")


Tags: addon-com.codebarrel.addons.automation

automation

cloud

jira-cloud