youngmon/atlassian-qna huggingface dataset:
Rule to just allow on Status transition if one specific sub task status is set on "done"
Asked by Benedikt Heiss:

Hi together,

I?m currently working on a jira automation rule to just allow on issue type to access the following status if the subtasks or one specific subtask of the parents issue is set on "done".   
Can anyone provide me with footage or an explanation of how to do that?

many thanks!

regards,

Benedikt


Answers:
author: Trudy Claspill
body: Hello [@Benedikt Heiss](/t5/user/viewprofilepage/user-id/5105891)

Can you show us the automation rule you have constructed so far, and tell us which part you are struggling to complete?

Can you walk us through the scenario you are trying to handle? Use example issue keys and explain which issues are the parent issues and which are the subtasks, and which subtasks belong to which parents.

comments: author: Benedikt Heiss
body: Hi [@Trudy Claspill](/t5/user/viewprofilepage/user-id/3569011)

I?m trying to display an onboarding Process in Jira Work Management. Every issue is an employee who has to be onboarded in different steps/statuses. Every status has specific subtasks that are generated automaticlly e.g. "Create Accunt xy" and assigned to Person Z. Know i would that the issue can just move on to the next status, if every (or if possible specific) subtasks are set on "done" (screen is in German so done = Erledigt). I have a separated workflow for the subtasks for just setting them on "in work" or "done"...   

Hope you could understand my problem,

many thanks

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

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


author: Trudy Claspill
body: Restricting the status an issue can be set to must be implemented through Workflow modification. You can't use an Automation Rule to prevent an issue status change.

For issues in a Company Managed project, you can add a Condition to a workflow transition to prevent access to the next status. There is a built in Condition to specify that all Subtasks must be set to one of a specified set of statuses.

![Screen Shot 2023-04-11 at 3.45.11 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/251165i22ED87D09A8946A8/image-size/large?v=v2&px=999 "Screen Shot 2023-04-11 at 3.45.11 PM.png")

------![Screen Shot 2023-04-11 at 3.45.31 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/251166i43F20C08F1FEF03F/image-size/large?v=v2&px=999 "Screen Shot 2023-04-11 at 3.45.31 PM.png")

------

![Screen Shot 2023-04-11 at 3.45.58 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/251164i335E9AA0016B84F5/image-size/large?v=v2&px=999 "Screen Shot 2023-04-11 at 3.45.58 PM.png")


author: Benedikt Heiss
body: oh thats perfect! Many thanks and kind regards,

Benedikt


Tags: cloud
Automation Failing to Create Issue Error
Asked by Ertwyn Henry:

I am using automation to create Linked stories to an epic it is working for all automation except one. I keep getting "Summary: You must specify a summary of the issue." even though I set one using smart values originally. Now I separated that task into its own automation and set the summary manually and I am still getting that message and the issue is not creating.

![Automation error.png](https://community.atlassian.com/t5/image/serverpage/image-id/249117iDE3855DEEC7F6AD5/image-size/large?v=v2&px=999 "Automation error.png")![AutomationSummary.png](https://community.atlassian.com/t5/image/serverpage/image-id/249118i9FACC0C63F9D22FD/image-size/large?v=v2&px=999 "AutomationSummary.png")


Answers:
author: Dave Mathijs
body: Hi [@Ertwyn Henry](/t5/user/viewprofilepage/user-id/5110902) welcome to the Atlassian Community!

The error you are receiving may not be related to the Summary field but to the other fields mentioned after the Unknown fields set to create ...

Make sure they are added to the relevant screens and check that their context isn't too restricted, but allowed for the project(s) and/or issue type(s).


author: Ertwyn Henry
body: I figured it out I didn't have the summary field on the associated issue screen

comments: author: Dave Mathijs
body: Aha, glad it got sorted out. I would expect that default system field to always be on the issue screen. ?


author: Ertwyn Henry
body: [@Dave Mathijs](/t5/user/viewprofilepage/user-id/2662590)   
I created a screen and screen context for every unique issue type. Is that the right approach so that every issue type can have its own isolated screen? Is that best practice?


author: Dave Mathijs
body: One would only do this if really necessary or required due to limitations.

Within a single project, the simplest configuration is:

* 1 issue type screen scheme
* 1 default screen scheme
* 1 issue screen for all operations (create, edit, view)
* 1 context for each field

Depending on the requirements, you can create a screen scheme per issue type of your issue type scheme if it contains different fields.

Only if you need multiple contexts for the same field, create a second context, either because you need different contexts for different projects, different contexts for different issue types or a combination of both.

It also depends on the field type. This is not useful for text fields for example, but it can be useful for a select list, checkboxes or radio buttons.

If you need certain fields to be read-only after creation, then you can create multiple issue operation screens. Add the field to the create issue screen and the view issue screen, but not to the edit issue screen if you want to make it read-only.


Tags: automation

cloud

error

jira-work-management-cloud
Does Jira Work Management have screen schemes?
Asked by Laura Campbell _Seibert Media_:

I would like to customize what appears on the create issue screen in JWM versus what is visible on the view and edit (similar to what can be done on JSM \& JSW).

But I can't seem the find the option anywhere. I have been able to modify the fields in the issue directly from the project settings in the Work Management project, but when going into the system settings to try to find the screens specific to create/edit/view I am only seeing ones related to software or JSM projects.

So, does Jira Work Management have screen schemes? Is it possible to customize what appears on the create issue screen versus view/edit?

Is creating a Form a decent workaround?


Answers:
author: Trudy Claspill
body: Hello [@Laura Campbell _Seibert Media_](/t5/user/viewprofilepage/user-id/3327113)

Are you working with a Company Managed project or a Team Managed project? That information will display at the bottom of the navigation panel on the left.

If you are working with a Team Managed project, those don't use any of the schemes. Schemes are used only in Company Managed projects.

If it is a Company Managed project, when you click on Project Settings you would see an option in the navigation panel for Screens, and if you click on that it would show you the Screen Scheme used by the project.

![Screen Shot 2023-03-30 at 10.17.52 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/248980iED709709945F4E3D/image-size/large?v=v2&px=999 "Screen Shot 2023-03-30 at 10.17.52 PM.png")

comments: author: Laura Campbell _Seibert Media_
body: Ahhh, you're right, it's a Team-managed. But I would have sworn that I created a company-managed!


Tags: cloud

jira-work-management-cloud
Receiving error when using Generic Rule: Summary DOES NOT CONTAIN certain text
Asked by Louwrens Boshoff:

I want to stop a ticket from using this transition if it contains certain text.

Rule test error: {"errorMessages":\["Jira expression failed to parse: line 1, column 2:\\nIDENTIFIER or } expected, status encountered."\],"errors":{}}


Answers:
author: Oday Rafeh
body: Hi [@Louwrens Boshoff](/t5/user/viewprofilepage/user-id/5034103) ,

Can you try this :

```
!(issue.summary.toLowerCase().contains("certain text"))
```

comments: author: Louwrens Boshoff
body: I am using the generic rule builder to create the rule, where must I add your script?


author: Oday Rafeh
body: [@Louwrens Boshoff](/t5/user/viewprofilepage/user-id/5034103)

In the generic rule builder, you can use the "Condition" section to specify the Jira expression that checks if the summary of the issue contains the specified text.

In the "Condition" section, select the "Jira Expression" option.

Replace the default expression with the following code:

!(issue.summary.toLowerCase().contains("certain text"))

Replace the "certain text" string with the text that you want to check for in the summary of the issue.


author: Louwrens Boshoff
body: ![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/249060iFF7EDF7640AE2D1A/image-size/large?v=v2&px=999 "image.png")

These are the only options I have in the Condition section, can you be a bit more specific?


author: Oday Rafeh
body: In your case here you can add **ScriptRunner Script**.


author: Louwrens Boshoff
body: I see, it give me this error:

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


author: Oday Rafeh
body: Maybe the "contains" is not available regarding this error, Please try in place of it to use the "indexOf()" this way :

```
!(issue.summary.toLowerCase().indexOf("certain text") >= 0)
```


author: Louwrens Boshoff
body: now it shows everything as true even if the text is not there.


author: Oday Rafeh
body: [@Louwrens Boshoff](/t5/user/viewprofilepage/user-id/5034103) it looks like the condition is not correctly evaluating the summary field let's try using a different approach

```
!issue.summary?.toLowerCase().contains("certain text")
```


author: Louwrens Boshoff
body: ![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/249080i6D9B53586338BEE4/image-size/large?v=v2&px=999 "image.png")


author: Oday Rafeh
body: Let me see on my side and get back to you


author: Louwrens Boshoff
body: Thx


Tags: cloud

jira-work-management-cloud
Can you write an IQL that will pull attributes from 3 or more object types and display?
Asked by Sandra Lawrence:

I am trying to understand how to write (or even if I can) an IQL that pulls attributes from 3 or more object types within my schema and display the attributes from all the different object types at once?


Answers:
author: Kai Becker
body: Hi [@Sandra Lawrence](/t5/user/viewprofilepage/user-id/4448641)

thanks for your question. Sadly, this is not possible.

The simple reason for this is, that IQL will return whole objects and not only attributes. It is probably the same as JQL returns issues instead of custom field values from various issues.

So the only thing you could do: aggregate asset attributes in another asset and display this one. Sorry ?


Tags: assets

cloud

data-center

insight

jira-service-management
Holidays in Advanced Roadmaps (Improved Planning Interface)
Asked by Christian Methfessel:

The Improved Planning Interface from Advanced Roadmaps doesn't work with Team Member holidays anymore.

How can I prevent the planning algorithm to plan issues during vacation times of the assignee?

Thanks!

Christian


Answers:
author: Oliver Terhaar
body: See my post in this thread, you can alter capacity of each sprint when there are holidays or vacation of team members planned: <https://community.atlassian.com/t5/Jira-Software-questions/How-to-visualize-vacations-in-Advanced-Roadmaps/qaq-p/1982503>


author: Adam Hallyburton
body: I'm also keen to know if this functionality is available as we have Advanced Roadmaps plans for clients and we need to inout public holidays along with employee leave but cannot see where to do this?


author: Konstantin Sch?tte
body: Has someone found a solution for this?


Tags: advanced-roadmaps

cloud
Jira Advance Roadmaps Auto-schedule always resets duration to 1 day
Asked by Patrick Wright:

Hi,

I've been using Jira Advanced Roadmaps for a month or two now, but mainly for organizing a view across projects into initiatives and epics, and hypothetical scheduling. I'm using the new interface.

I'd like to now use the auto-schedule feature to see what proposed timelines will look like. I'm running in to a problem, namely that auto-schedule is always resetting the duration for any ticket to 1 day. I've tried setting

* start and due date
* estimation (d)
* target start and target end
* duration by dragging the timeline

It's not clear to me from the documentation which values the auto-schedule uses in its algorithm, and which ones it will respect as given.

Any tips are welcome.

Thanks!


Answers:
author: Earl McCutcheon
body: Hello [@Patrick Wright](/t5/user/viewprofilepage/user-id/2545045) ,

Thanks for reaching out. First you noted adjusting start and end dates as well as Target dates, there is a change in the new interface and it now uses only one type of date, and the scheduling in the auto scheduler will be based on date that yuou have set in the plans scheduling configuration.

See ["Scheduling issues"](https://confluence.atlassian.com/advancedroadmapscloud/scheduling-issues-998651219.html) for additional detail son the settings, but I recomend checking to verify that the date range you have selected lines up witht he one you are altering in the issues.

Ultimately the Auto Scheduler [(Detailed here)](https://confluence.atlassian.com/advancedroadmapscloud/auto-scheduling-issues-998651231.html) should be taking into account:
> The program's schedule is derived from the dates, sprints, and releases of each plan in the program.

And
> When auto-scheduling the issues in a plan, several factors are considered:
>
> * how your teams work, i.e. in sprint iterations (Scrum), or in a continuous flow of daily tasks (Kanban)
> * for Scrum teams, the sprint assignments of the issues in the plan
> * the sequence of issues, based on start and end release dates
> * the ranking of the issues in the plan
> * the dependencies between issues in the plan
> * the estimates of the issues in the plan
> * the number of members in your team, which determines how much work can be completed in parallel

I recomend running through t he items listed and checking if any of the items line up with a data point that would impact the schedule for the items being reset to 1 day.

Regards,  
Earl

comments: author: Patrick Wright
body: Hi Earl,

thanks for the detailed response. I'll set aside time this week to try and experiment with the project settings to see if I can figure out what's causing this 1-day estimation. I'll report back once I have some findings.

Thanks!


Tags: advanced-roadmaps

cloud

jira-software
Aggregated Story points at Epic level not showing in Improved Interface view?
Asked by Nyssa Watkin:

Not sure if this is a particular bug or issue with our instance...

On the live plans (old view) of Portfolio/Advanced Roadmaps the Story Points field will aggregate the story points at the Epic level for all issues in the epic (e.g., show a total).

The improved interface does not do this. Is there something I need to do to get the total, or is this another one of the features they have decided not to "prioritise" in the improved interface?


Answers:
author: chris.reyes
body: I had that same problem. Here is where you do the roll-up; View Settings\>Roll-up\>Select Other

![How to do roll-up.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/106314i4E978FDF8DDD0DEE/image-dimensions/510x249?v=v2 "How to do roll-up.jpg")

comments: author: Nyssa Watkin
body: Oh phew! Glad it's still a feature. Thanks!


author: bmacd
body: I don't have this option on my Plans, only estimates (d) not Story Points, why would that be?


Tags: advanced-roadmaps

server
Team capacity is not affected by individual absences?
Asked by Thomas:

Actually the individual absences are not affecting the team capacity anymore like it was in the previous version of Portfolio/Roadmap. I do understand the idea of velocity in a long term consideration, as you mentioned in the blog article here: <https://community.atlassian.com/t5/Advanced-Roadmaps-articles/What-s-changing-with-Advanced-Roadmaps-formerly-Portfolio-for/ba-p/1370196>

But I am really interested to gain the insight if a majority of my team is having a vaccation in the next couple of weeks, or maybe at a specific release date.

Are there any plans that the capacity feature would be extended? For me as a team manager this would be very helpful.


Answers:
author: Chad Nuesmeyer
body: [@Ofir Zeevi](/t5/user/viewprofilepage/user-id/2980258) - Any update on this?  

The ability to log scheduled time-off and forecast velocity implications accordingly is very important to our use case. Thanks.


author: Thomas
body: The datacenter edition of Jira seems to be ahead with this feature: <https://community.atlassian.com/t5/Advanced-Roadmaps-questions/weekly-capacity-not-variable-in-Jira-Portfolio-improved/qaq-p/1332289#U1551274>


author: Nico Plock
body: \*bump\*


author: Ofir Zeevi
body: Hey Thomas,

Thanks for taking the time to add this thoughtful question. I can completely understand the need to adjust the teams capacity/velocity for a specific sprint when team members are unavailable.

We're currently planning to add the ability to adjust your team's velocity for a given sprint that has been created in Jira - it's on the roadmap! I hope that helps :)

comments: author: Thomas
body: Hey Ofir,

Thanks the honest answer! I guess you can't forecast a day of shipment for this feature to the jira cloud edition, do you?

Maybe it would be helpful to have a roadmap at Atlassian with the absence/capacity information of your development team ;-)


Tags: advanced-roadmaps

cloud
After a system reboot the first run of startup of Jira Server Fails - cant connect to db
Asked by pnelsonsr:

Having a weird error that has started happening with the last 3 (or 4) updates, where the first time I run the startup it fails (immediately) with an error that says it cannot connect to the database (which is running). I simply have to re-run the startup command and it then works. Here is my setup:

Fedora 32

Jira Server 8.11.0

Postgresql 12.3

I am fully aware that Jira doesn't support 12.3 we have a requirement that all software has to be to the latest version and on the second start everything works.

Any idea of what I can look at?


Answers:
author: pnelsonsr
body: I found this was related to the fact that I had changed the systemctl file by putting a want into it and then enabling the service. So when I rebooted it, it was really already starting up, and not relizing this, I would restart it which caused the problem. I worked around by stoping the service and then starting it again.

The fix (read "not work around") was to disable the service so that it didn't start automatically at reboot. Which is really what I wanted. I could have also just let it start at boot and everything would be OK.

comments: author: pnelsonsr
body: This took a long time to figure out as I just did the workaround and got used to it. I would only restart the Linux system once a month!


Tags: advanced-roadmaps

jira-server

server
Team Velocity not a shared value
Asked by Matt Wakeman:

Hello,

I have two types of Plan in my Portfolio configuration.

* Release Train Plans
  * All tickets relating to a collecting of teams located in a single Jira Project
* Product Plans
  * All tickets relating to a specific product - pulling tickets from many Jira projects using a custom field.

The plans work great but I want to be able to associate the Teams and the associated boards - show we can show sprint capacity etc

It appears that the Velocity field for each team is Plan specific, even for shared teams.

* How can I sync the Team velocity between Plans?

I am fine is there is a REST API which allows me to set the value outside of Portfolio but I cannot seem to find any references to the velocity in the API docs.

Thanks

Matt


Answers:
author: Evan Golden {VisualScript}
body: Hello Matt,

If I understand correctly, you have multiple teams that are part of a single release train. The release train has a single Jira project that has a collection of tickets that the teams are working on.

You then have multiple projects in Jira per product, and the features and stories can be assigned to different teams in the release train.

You are using Advanced Roadmaps and assigning teams to issues using the custom team field that comes with Advanced Roadmaps.

Is that correct?

VisualScript for Jira has a built-in Velocity report. You can input all of your projects, start and end date, and separate your teams by the Advanced Roadmaps team field, or any field (ie component) that you are using.

It will show 3 tables (see the visual below). The top table has a row per team showing number of estimated SP, completed SP, added, dropped, rolled, and team velocity across all of the issues in multiple projects. You can even click in the expanded view and see the average velocity sprint by sprint for each team.

The second table shows all of the same information across all of your teams (your release train). The third table shows how many iterations it will take to complete remaining estimated work. This report lives in a Jira dashboard gadget.

VisualScript is also customizable, so if you want to edit the velocity report to make it work for you, you can edit the script (JavaScript) in the admin interface to make it your own, and it will create a custom version of it for you.

I hope this helps, and happy to answer any additional questions you might have. FYI I am the Product Manager of VisualScript.

Best

Evan

![Screen Shot 2020-08-05 at 9.00.31 AM.png](https://community.atlassian.com/t5/image/serverpage/image-id/105644iC1DE5DAF4C43AD02/image-size/large?v=v2&px=999 "Screen Shot 2020-08-05 at 9.00.31 AM.png")

comments: author: Matt Wakeman
body: Thanks for the comment, however this doesn't provide me anything that the native Jira reports and EazyBi already do out of the box.

My ask is around how I can sync the velocity of a shared team between two plans.

The velocity field seems to be plan specific and I cannot find any API which allows me to set it out side of Jira Portfolio.


Tags: advanced-roadmaps

server
Epic missing from Plan but available in Jira
Asked by Ravichandra Itagi:

We are facing some issue with Plan, with JQL query we are able to get the epics assigned to particular user from particular projects but in portfolio plan we are unable to get all the epics assigned to him, one epic is missing in plan. tried all the options but we are unable to find it in plan where we can able to see same issue with JQL. Kindly assist us to resolve this as this is blocking us to go ahead with portfolio/Roadmaps.


Answers:
author: Jira Guru
body: Is the missing Epic in an open status or done/completed status? are there any open issues under the missing Epic?

did you try reconfiguring your issue sources and during that, were you able to see the Epic listed in the select issues screen and is the check box selected?


Tags: advanced-roadmaps

server