By default assignee=reporter in jira - jira

Whenever i edit the subtask issues the screen sets the assignee's value from reporter field.
for ex: if reporter is xxx and assignee is yyy . When i edit this sub-task issue the screen shows that assignee=xxx.
Any solution for this?

Not sure why this happens to you, i tried to reproduce it but works fine for me.
Do you have any plugins? any custom field scipts? any post function script?
Anyway, you can solve that by one of the following ways:
Post function script as explained here
Plugin like Behaviours Plugin or Jira Scripting Suite
Add a custom filed, edit it's description and add a jQuery script that will set the assignee option
If you need any help or have question on any of the solutions feel free to ask.

Related

jira bulk update custom field value

I need to update all the values of a custom field in Jira. I noticed the "Bulk Fix Resolutions" script which is kind of what I want, but not for resolutions, for custom field value. Any thoughts on what I need to do?
A groovy script run in the ScriptRunner console. Carefully tested in staging beforehand. Or an external script such as jira-python
Thanks I found the answer here, it can be done with existing UI:
Using the bulk change wizard - The bulk change wizard will progress you through your bulk change. To step back at any step of the operation, select the relevant step in the menu on the left-hand side. Selecting Cancel will cancel the entire process.
https://confluence.atlassian.com/jiracoreserver074/editing-multiple-issues-at-the-same-time-921047221.html?_ga=2.18023408.858755321.1517851422-336306238.1516208522

Change SpecFlow+ runner report output link

We are using Jenkins in our build cycle to run our specflow tests. We are trying to find a better way to surface the test results. The generated html report file is great, but right now we have to manually log into the build server to check it out. I want to surface that file via a clickable link.
Here is what I am talking about specifically. Here is the test results via our Jenkins console
I want to change the highlighted text to an http url so that everyone can just click that and view the file.
I already have the http link working, so that's not the issue. I just need to figure out how to make specrun output this link here.
Any ideas on if this is possible? And if so how to do it?
Thanks for the help!
Sorry, this is currently not possible in SpecFlow+Runner, but I will put it on the backlog as a feature request.
Perhaps you can do something in Jenkins to parse the output and reformat the link.
Full disclosure: I am on of the developers of the SpecFlow+Runner.

use Confluence-publisher-plugin in Jenkins to send build information to Wiki

I know there are some questions regarding this, but didn't get the right answer yet.
I am trying to use Confluence publisher plugin in Jenkins to send build information (Logs, artifacts...) to wikiD page. I can attach artifacts and write plain text to the wiki page. But I'm trying to update/append/prepend wiki page table with build info. I think I might be able to achieve this by using macros but not sure how to use that for data in tables??
does anyone here know how to achieve that?
Sure. I can mention how i did it. There might be different way others will do the same thing.
So, in Confluence, either create a Blank macros as mentioned on Confluence-publisher-plugin wiki and in Jenkins, use "Wiki Markup Replacements" options in plugin configuration to direct your Contents.
OR other option is what i did on mine, was to create table in the wiki and use Cell header ( |cell1||cell2|... ) as Marker Token. then select plain text option, where you enter all the contents that you want to be published in your Wiki.

Auto assign to team lead/developer on bug reopen

In my implementation of JIRA, I have a custom field called Developer which gets populated automatically (username) whenever someone move the JIRA from Open to Fixed state. Now I want something similar for the Fixed to Reopen transition. That is, whenever the tester changes the status to Reopen, it should go back to the Developer or the Project Lead (in case the field isnt populated as the custom field can be overridden).
I tried to implement a post function, but there isn't a way where I can use OR criteria. Or is there a way?
You can do a Post Function on the transition using the Script Runner plugin if its a self-hosted JIRA instance which will allow you great flexibility in the logic to fill the target field in.
I finally managed to find a workaround for this.
Download the Workflow Enhancer for JIRA plugin (FREE). You would also need JIRA Suite Utilities (I had it installed already for some other customization)
In the Fixed to Reopen transition, add a Post Function and use Copy Value From Other Field to update Assignee from Developer field
Then add another Post Function underneath this where you need to use Universal Post Function. Here make the boolean condition as {Assignee}=="" and select Choose post function to execute: as Assign to Lead Developer
Publish the draft.

Jira create link between custom issues

I'm creating custom JIRA configurations OnDemand.
I want to configure two issues, called TestPlan and TestPlanRun. I want to have a link that shows that TestPlanRun is related to TestRun, it is obvious that I want to have multiple TestPlanRuns for TestRun.
I did not succeed to do it with Jira admin interface.
Can you help me? or advise some good TestPlan/TestPlanRun/TestCase/TestCaseRun workflow
in JIRA OnDemand marketplace?
Thanks
There's a comment about this at https://confluence.atlassian.com/display/AOD/Restricted+Functions+in+Atlassian+OnDemand?focusedCommentId=589366653#comment-589366653

Resources